Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.531/2.531, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 180 kB / 0.4902 GB, free: 2.309 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.704/1.704, allocations: 223.1 MB / 0.7992 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 104.2 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004782, allocations: 8.438 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3931, allocations: 143 MB / 1.229 GB, free: 85.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2153/0.6084, allocations: 159.1 MB / 1.385 GB, free: 6.176 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.6088, allocations: 67.97 kB / 1.385 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03412/0.6429, allocations: 12.21 MB / 1.397 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.357e-06/0.643, allocations: 0 / 1.397 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.046e-05/0.643, allocations: 19.94 kB / 1.397 GB, free: 9.852 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001737/0.6447, allocations: 0.9956 MB / 1.398 GB, free: 8.793 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.6448, allocations: 16.52 kB / 1.398 GB, free: 8.777 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.645, allocations: 87.36 kB / 1.398 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008024/0.6458, allocations: 477.8 kB / 1.398 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.6458, allocations: 49.31 kB / 1.398 GB, free: 8.137 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.646, allocations: 71.98 kB / 1.398 GB, free: 8.066 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.647, allocations: 0.6036 MB / 1.399 GB, free: 7.438 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.6471, allocations: 4 kB / 1.399 GB, free: 7.434 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.6471, allocations: 28 kB / 1.399 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.6471, allocations: 16 kB / 1.399 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008849/0.648, allocations: 460.9 kB / 1.399 GB, free: 6.941 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.6511, allocations: 2.053 MB / 1.401 GB, free: 4.816 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.6531, allocations: 0.9345 MB / 1.402 GB, free: 3.836 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.6531, allocations: 8.375 kB / 1.402 GB, free: 3.828 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005549/0.6537, allocations: 298 kB / 1.403 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=57): time 3.797e-06/0.6537, allocations: 0 / 1.403 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of matching and sorting (n=57): time 0.001434/0.6551, allocations: 0.7414 MB / 1.403 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/0.6552, allocations: 115.4 kB / 1.403 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.6558, allocations: 454.1 kB / 1.404 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/0.6559, allocations: 45.69 kB / 1.404 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.6562, allocations: 316.8 kB / 1.404 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.6564, allocations: 181.5 kB / 1.404 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.6564, allocations: 12 kB / 1.404 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.6566, allocations: 378.8 kB / 1.405 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/0.657, allocations: 201.1 kB / 1.405 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.6576, allocations: 370.2 kB / 1.405 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.658, allocations: 255.8 kB / 1.405 GB, free: 380 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6581, allocations: 0 / 1.405 GB, free: 380 kB / 0.9011 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.6575/1.316, allocations: 0.6455 MB / 1.406 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003514/1.316, allocations: 0.7406 MB / 1.407 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-05/1.316, allocations: 3.219 kB / 1.407 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.261e-05/1.316, allocations: 6.531 kB / 1.407 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/1.317, allocations: 100.5 kB / 1.407 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/1.317, allocations: 9.938 kB / 1.407 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008944/1.318, allocations: 117.3 kB / 1.407 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/1.318, allocations: 27.06 kB / 1.407 GB, free: 165 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.318, allocations: 4 kB / 1.407 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00141/1.319, allocations: 0.5256 MB / 1.408 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.319, allocations: 4.688 kB / 1.408 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/1.319, allocations: 4.531 kB / 1.408 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/1.32, allocations: 87.17 kB / 1.408 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/1.32, allocations: 9.625 kB / 1.408 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006825/1.321, allocations: 109.4 kB / 1.408 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/1.321, allocations: 22.89 kB / 1.408 GB, free: 165 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,booToRea1.u,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0005226/1.321, allocations: 278.8 kB / 1.408 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/1.321, allocations: 64.55 kB / 1.408 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/1.322, allocations: 66.95 kB / 1.408 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.322, allocations: 10.16 kB / 1.408 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.322, allocations: 1.438 kB / 1.408 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.322, allocations: 2.859 kB / 1.408 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/1.324, allocations: 1.252 MB / 1.409 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.324, allocations: 3.875 kB / 1.409 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/1.325, allocations: 92.94 kB / 1.41 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/1.325, allocations: 2.188 kB / 1.41 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/1.325, allocations: 15.31 kB / 1.41 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/1.325, allocations: 1.562 kB / 1.41 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.325, allocations: 3.062 kB / 1.41 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/1.326, allocations: 0.8785 MB / 1.41 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/1.326, allocations: 145.7 kB / 1.411 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/1.327, allocations: 14.14 kB / 1.411 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/1.327, allocations: 47.09 kB / 1.411 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.327, allocations: 42.27 kB / 1.411 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/1.327, allocations: 21.22 kB / 1.411 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004905/1.328, allocations: 355.9 kB / 1.411 GB, free: 164 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.71e-07/1.328, allocations: 0 / 1.411 GB, free: 164 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001103/1.329, allocations: 270.9 kB / 1.411 GB, free: 164 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 52 * 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.0003601/1.329, allocations: 175.1 kB / 1.411 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00185/1.331, allocations: 0.9579 MB / 1.412 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.331, allocations: 0 / 1.412 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004916/1.331, allocations: 247.3 kB / 1.413 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000688/1.332, allocations: 102.5 kB / 1.413 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/1.334, allocations: 1.293 MB / 1.414 GB, free: 163 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/1.335, allocations: 0.916 MB / 1.415 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003986/1.335, allocations: 83.5 kB / 1.415 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/1.336, allocations: 49.52 kB / 1.415 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.092e-06/1.336, allocations: 0 / 1.415 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.0176/1.353, allocations: 7.143 MB / 1.422 GB, free: 161.9 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.csv","../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches