Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") [: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.422/1.422, allocations: 249.4 MB / 256.7 MB, free: 7.09 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.001045/0.001045, allocations: 181.2 kB / 316 MB, free: 3.527 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.187/1.187, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.0009265/0.0009265, allocations: 90.77 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.412e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2016, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6934/0.8951, allocations: 143 MB / 1.024 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.8954, allocations: 77.55 kB / 1.024 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.03267/0.9281, allocations: 12.09 MB / 1.036 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.906e-05/0.9282, allocations: 15.94 kB / 1.036 GB, free: 1.723 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001794/0.93, allocations: 0.9956 MB / 1.037 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.9301, allocations: 8.031 kB / 1.037 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.9303, allocations: 98.88 kB / 1.037 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009037/0.9312, allocations: 0.4894 MB / 1.038 GB, free: 164 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.9312, allocations: 27.8 kB / 1.038 GB, free: 140 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.9314, allocations: 48 kB / 1.038 GB, free: 92 kB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007551/0.9321, allocations: 385.1 kB / 1.038 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000971/0.9331, allocations: 0.5848 MB / 1.039 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.9331, allocations: 0 / 1.039 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.517e-05/0.9332, allocations: 8 kB / 1.039 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.9332, allocations: 19.94 kB / 1.039 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003152/0.9364, allocations: 2.408 MB / 1.041 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009014/0.9373, allocations: 491 kB / 1.042 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.9377, allocations: 237.5 kB / 1.042 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.023e-05/0.9377, allocations: 12.48 kB / 1.042 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004889/0.9382, allocations: 328.7 kB / 1.042 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 2.394e-06/0.9382, allocations: 4 kB / 1.042 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.0009557/0.9392, allocations: 479.5 kB / 1.043 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/0.9393, allocations: 144.5 kB / 1.043 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.9398, allocations: 386.2 kB / 1.043 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.9399, allocations: 37.27 kB / 1.043 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.9401, allocations: 257.3 kB / 1.043 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.9403, allocations: 186.8 kB / 1.044 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.9403, allocations: 4 kB / 1.044 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.9405, allocations: 372.9 kB / 1.044 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.9409, allocations: 201.2 kB / 1.044 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.9413, allocations: 303 kB / 1.044 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.9418, allocations: 218 kB / 1.045 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9418, allocations: 0 / 1.045 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00107/0.9429, allocations: 0.5973 MB / 1.045 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003212/0.9432, allocations: 0.6164 MB / 1.046 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.9432, allocations: 0 / 1.046 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/0.9432, allocations: 11.98 kB / 1.046 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.9438, allocations: 123.2 kB / 1.046 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.9439, allocations: 7.938 kB / 1.046 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/0.9445, allocations: 115.5 kB / 1.046 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/0.9445, allocations: 27.19 kB / 1.046 GB, free: 8.984 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.9446, allocations: 4 kB / 1.046 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009065/0.9455, allocations: 0.4929 MB / 1.046 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9455, allocations: 4 kB / 1.047 GB, free: 8.621 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.9455, allocations: 4 kB / 1.047 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.946, allocations: 107 kB / 1.047 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.946, allocations: 11.84 kB / 1.047 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.9465, allocations: 99.8 kB / 1.047 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.9466, allocations: 26.38 kB / 1.047 GB, free: 8.387 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.optSta.hysSta.y,optSta.hysSta.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,booToRea1.u,conPID.I.trigger_internal,conPID1.I.trigger_internal,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * 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.0001858/0.9467, allocations: 138.6 kB / 1.047 GB, free: 8.25 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.523e-05/0.9468, allocations: 63.25 kB / 1.047 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.947, allocations: 63.44 kB / 1.047 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.947, allocations: 8 kB / 1.047 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.947, allocations: 0 / 1.047 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.947, allocations: 7.922 kB / 1.047 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.9486, allocations: 1.097 MB / 1.048 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.9486, allocations: 12 kB / 1.048 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.9491, allocations: 103.3 kB / 1.048 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.9491, allocations: 3.969 kB / 1.048 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.9492, allocations: 23.73 kB / 1.048 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9492, allocations: 0 / 1.048 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.9492, allocations: 7.938 kB / 1.048 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001215/0.9504, allocations: 0.8816 MB / 1.049 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.9505, allocations: 136.2 kB / 1.049 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.9506, allocations: 15.05 kB / 1.049 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.9511, allocations: 47.95 kB / 1.049 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.9513, allocations: 57.12 kB / 1.049 GB, free: 6.168 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.9513, allocations: 30.92 kB / 1.049 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003042/0.9516, allocations: 288.5 kB / 1.05 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007385/0.9524, allocations: 250.9 kB / 1.05 GB, free: 5.688 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 15 ($whenCondition3,$whenCondition1,$whenCondition2,optSta.hysSta.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc,pul.T_start,pul.count) * Number of discrete states: 10 (pul.count,occSch.tNonOcc,occSch.tOcc,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta,optSta.hysSta.y,optSta.falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002493/0.9526, allocations: 139 kB / 1.05 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.9542, allocations: 0.9344 MB / 1.051 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.9542, allocations: 4.25 kB / 1.051 GB, free: 4.898 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.9546, allocations: 266.6 kB / 1.051 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.9553, allocations: 108 kB / 1.051 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.9572, allocations: 0.8559 MB / 1.052 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/0.958, allocations: 0.9845 MB / 1.053 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/0.958, allocations: 7.938 kB / 1.053 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of Templates: time 0.0189/0.9769, allocations: 10.16 MB / 1.063 GB, free: 8.789 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches