Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 249.4 MB / 256.7 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 180.1 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009364/0.0009363, allocations: 94.69 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.826e-06/8.847e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2341, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.689/0.9232, allocations: 132.1 MB / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.9235, allocations: 66.77 kB / 1.014 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.009602/0.9331, allocations: 3.56 MB / 1.017 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.9331, allocations: 4 kB / 1.017 GB, free: 3.812 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004793/0.9336, allocations: 388.1 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.9337, allocations: 8.031 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.9337, allocations: 11.91 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.9339, allocations: 186.3 kB / 1.018 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.934, allocations: 4 kB / 1.018 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.934, allocations: 4 kB / 1.018 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001039/0.9341, allocations: 37.8 kB / 1.018 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.9342, allocations: 83.16 kB / 1.018 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.9342, allocations: 3.906 kB / 1.018 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.9343, allocations: 0 / 1.018 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9343, allocations: 0 / 1.018 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.9347, allocations: 311.5 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.9349, allocations: 110.4 kB / 1.018 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.935, allocations: 62.23 kB / 1.018 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.935, allocations: 240 / 1.018 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.9352, allocations: 88.58 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.9352, allocations: 0 / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002317/0.9354, allocations: 109.3 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.9355, allocations: 55.39 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.9356, allocations: 117.7 kB / 1.019 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.9356, allocations: 25.7 kB / 1.019 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.9357, allocations: 99.16 kB / 1.019 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.9357, allocations: 15.12 kB / 1.019 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.9357, allocations: 0 / 1.019 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.9358, allocations: 322.5 kB / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.9359, allocations: 26.75 kB / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.837e-05/0.936, allocations: 59.66 kB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.03e-05/0.936, allocations: 38.55 kB / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.9361, allocations: 0 / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001886/0.9362, allocations: 118.6 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.9363, allocations: 8 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9363, allocations: 0 / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.9363, allocations: 3.906 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.9364, allocations: 11.98 kB / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.9364, allocations: 0 / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.623e-05/0.9365, allocations: 3.938 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-05/0.9366, allocations: 31.91 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.9367, allocations: 105 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.9367, allocations: 11.89 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.9368, allocations: 7.656 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.9368, allocations: 7.938 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.9368, allocations: 3.906 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9368, allocations: 0 / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.9372, allocations: 374.5 kB / 1.02 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9372, allocations: 0 / 1.02 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/0.9372, allocations: 8 kB / 1.02 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9372, allocations: 0 / 1.02 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.9372, allocations: 7.031 kB / 1.02 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.9373, allocations: 0 / 1.02 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.9373, allocations: 3.938 kB / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002469/0.9375, allocations: 211.7 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.9376, allocations: 81.02 kB / 1.02 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.9376, allocations: 4 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.9377, allocations: 0 / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.9377, allocations: 7.984 kB / 1.02 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.9378, allocations: 27.89 kB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.613e-05/0.9378, allocations: 94.44 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002282/0.9381, allocations: 12 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001491/0.9382, allocations: 107.2 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.9384, allocations: 88.28 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9384, allocations: 0 / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.9385, allocations: 47.36 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.9389, allocations: 57.59 kB / 1.021 GB, free: 220 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.9392, allocations: 151.8 kB / 1.021 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.9396, allocations: 0.7114 MB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.9396, allocations: 0 / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of Templates: time 0.003972/0.9436, allocations: 1.559 MB / 1.023 GB, free: 13.79 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches