Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.176/2.176, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001006/0.001006, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.565/1.565, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009837/0.0009836, allocations: 106.7 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.619e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2927, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.389, allocations: 158.3 MB / 1.367 GB, free: 18.86 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/1.389, allocations: 72.84 kB / 1.367 GB, free: 18.86 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0297/1.419, allocations: 12.16 MB / 1.379 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/1.419, allocations: 0 / 1.379 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.956e-05/1.419, allocations: 15.56 kB / 1.379 GB, free: 33.05 MB / 0.8386 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.001395/1.42, allocations: 0.9021 MB / 1.38 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.42, allocations: 7.688 kB / 1.38 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/1.42, allocations: 85.91 kB / 1.38 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/1.421, allocations: 484.5 kB / 1.38 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/1.421, allocations: 51 kB / 1.38 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-05/1.421, allocations: 70.73 kB / 1.38 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008455/1.422, allocations: 0.5623 MB / 1.381 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.422, allocations: 3.984 kB / 1.381 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/1.422, allocations: 32.44 kB / 1.381 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/1.422, allocations: 15.38 kB / 1.381 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/1.423, allocations: 378.8 kB / 1.381 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/1.425, allocations: 2.058 MB / 1.383 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/1.427, allocations: 0.8385 MB / 1.384 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/1.427, allocations: 241.9 kB / 1.384 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/1.427, allocations: 11.78 kB / 1.384 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003714/1.427, allocations: 262.1 kB / 1.385 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 2.144e-06/1.427, allocations: 0 / 1.385 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0006886/1.428, allocations: 440.1 kB / 1.385 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/1.428, allocations: 111.2 kB / 1.385 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/1.429, allocations: 452.2 kB / 1.386 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/1.429, allocations: 42.98 kB / 1.386 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/1.429, allocations: 326.3 kB / 1.386 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/1.429, allocations: 174.2 kB / 1.386 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/1.429, allocations: 13.97 kB / 1.386 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.429, allocations: 373.2 kB / 1.387 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/1.429, allocations: 171 kB / 1.387 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/1.43, allocations: 316 kB / 1.387 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/1.43, allocations: 224.5 kB / 1.387 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.43, allocations: 0 / 1.387 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007748/1.431, allocations: 0.5835 MB / 1.388 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002913/1.431, allocations: 0.7328 MB / 1.389 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/1.431, allocations: 7.828 kB / 1.389 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.431, allocations: 3.906 kB / 1.389 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/1.432, allocations: 96.48 kB / 1.389 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/1.432, allocations: 11.78 kB / 1.389 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/1.432, allocations: 119 kB / 1.389 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/1.432, allocations: 28.86 kB / 1.389 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/1.432, allocations: 3.969 kB / 1.389 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006844/1.433, allocations: 0.5048 MB / 1.389 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.433, allocations: 3.906 kB / 1.389 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/1.433, allocations: 8.031 kB / 1.389 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/1.433, allocations: 88.52 kB / 1.389 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/1.433, allocations: 7.906 kB / 1.389 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/1.434, allocations: 107.4 kB / 1.39 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/1.434, allocations: 26.33 kB / 1.39 GB, free: 27.68 MB / 0.8386 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 () * 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.0001533/1.434, allocations: 143.2 kB / 1.39 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/1.434, allocations: 60.5 kB / 1.39 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/1.434, allocations: 72.39 kB / 1.39 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.434, allocations: 7.875 kB / 1.39 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.434, allocations: 3.906 kB / 1.39 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.434, allocations: 3.984 kB / 1.39 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/1.435, allocations: 1.183 MB / 1.391 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/1.436, allocations: 0 / 1.391 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/1.436, allocations: 99.55 kB / 1.391 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.436, allocations: 3.844 kB / 1.391 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/1.436, allocations: 14.58 kB / 1.391 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.436, allocations: 3.938 kB / 1.391 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.436, allocations: 3.938 kB / 1.391 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/1.437, allocations: 0.7703 MB / 1.392 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-05/1.437, allocations: 142.4 kB / 1.392 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/1.437, allocations: 18.59 kB / 1.392 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/1.437, allocations: 42.09 kB / 1.392 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/1.437, allocations: 39.59 kB / 1.392 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/1.437, allocations: 18.89 kB / 1.392 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003772/1.438, allocations: 349.6 kB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.438, allocations: 0 / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006913/1.438, allocations: 271.7 kB / 1.393 GB, free: 26.31 MB / 0.8386 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) * 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.0002588/1.439, allocations: 191.6 kB / 1.393 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001061/1.44, allocations: 0.8921 MB / 1.394 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.44, allocations: 3.844 kB / 1.394 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/1.44, allocations: 202.6 kB / 1.394 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/1.441, allocations: 102.8 kB / 1.394 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/1.442, allocations: 0.7915 MB / 1.395 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/1.442, allocations: 0.9186 MB / 1.396 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003865/1.443, allocations: 111.2 kB / 1.396 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.722e-05/1.443, allocations: 41.36 kB / 1.396 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of SimCode: time 7.81e-07/1.443, allocations: 0 / 1.396 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.01284/1.456, allocations: 8.057 MB / 1.404 GB, free: 19.02 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.csv","../files/Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches