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") 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: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 180.6 kB / 326.5 MB, free: 2.262 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.95/1.95, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008124/0.0008124, allocations: 91.92 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003929, allocations: 12.69 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.219, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.4042, allocations: 142.8 MB / 1.04 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.4044, allocations: 75.95 kB / 1.04 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03381/0.4382, allocations: 12.49 MB / 1.052 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4383, allocations: 3.938 kB / 1.052 GB, free: 4.379 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.073e-05/0.4384, allocations: 12 kB / 1.052 GB, free: 4.367 MB / 0.698 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.002219/0.4406, allocations: 1.069 MB / 1.053 GB, free: 3.238 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.4407, allocations: 8.031 kB / 1.053 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.4409, allocations: 103.3 kB / 1.053 GB, free: 3.129 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009211/0.4418, allocations: 499.9 kB / 1.053 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/0.4419, allocations: 53.31 kB / 1.053 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.442, allocations: 75.94 kB / 1.054 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.4433, allocations: 0.7326 MB / 1.054 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.4433, allocations: 4 kB / 1.054 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.4434, allocations: 28 kB / 1.054 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.4434, allocations: 16 kB / 1.054 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.4445, allocations: 0.5281 MB / 1.055 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4923/0.9369, allocations: 2.538 MB / 1.057 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.9383, allocations: 0.6751 MB / 1.058 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.9384, allocations: 8.453 kB / 1.058 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007336/0.9391, allocations: 421 kB / 1.058 GB, free: 142.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 3.527e-06/0.9391, allocations: 1.781 kB / 1.058 GB, free: 142.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.00179/0.9409, allocations: 0.8978 MB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.941, allocations: 145.2 kB / 1.059 GB, free: 142.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.9415, allocations: 462.5 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.9416, allocations: 52.56 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.9418, allocations: 332.5 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.9419, allocations: 203.3 kB / 1.06 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.9419, allocations: 15.66 kB / 1.06 GB, free: 142.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.942, allocations: 375 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/0.9426, allocations: 266.9 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006098/0.9432, allocations: 388.6 kB / 1.061 GB, free: 142 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/0.9437, allocations: 321.3 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9438, allocations: 6.953 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001524/0.9453, allocations: 0.8729 MB / 1.063 GB, free: 141.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.9455, allocations: 0.6483 MB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.9455, allocations: 2.875 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.9455, allocations: 3.328 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.946, allocations: 123.7 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.9461, allocations: 8.078 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.9466, allocations: 129.8 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.9467, allocations: 24.05 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.9467, allocations: 12.09 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001318/0.948, allocations: 0.767 MB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.9481, allocations: 2.844 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.9481, allocations: 2.938 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.9485, allocations: 110 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.9485, allocations: 5.953 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.949, allocations: 115.1 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.9491, allocations: 30.67 kB / 1.064 GB, free: 141.1 MB / 0.698 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 () * Number of clocked 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.0003599/0.9495, allocations: 287.7 kB / 1.065 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.9496, allocations: 76.89 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.9497, allocations: 74.52 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.9497, allocations: 8.938 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.9497, allocations: 0.6094 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.9498, allocations: 4.547 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.9521, allocations: 1.391 MB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.9521, allocations: 3.359 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.9527, allocations: 108.9 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.9527, allocations: 4.469 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.9527, allocations: 17.88 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.9528, allocations: 3.844 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9528, allocations: 1.172 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.9551, allocations: 1.147 MB / 1.068 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.9552, allocations: 144.7 kB / 1.068 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.931e-05/0.9553, allocations: 24.81 kB / 1.068 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.9558, allocations: 60.38 kB / 1.068 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.9559, allocations: 59.09 kB / 1.068 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-05/0.956, allocations: 29.45 kB / 1.068 GB, free: 140.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005283/0.9565, allocations: 355 kB / 1.068 GB, free: 140 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9565, allocations: 0 / 1.068 GB, free: 140 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009685/0.9575, allocations: 292.4 kB / 1.068 GB, free: 139.9 MB / 0.698 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) * Number of clocked states: 0 () * 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.0002433/0.9578, allocations: 149 kB / 1.069 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002558/0.9603, allocations: 1.304 MB / 1.07 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.9604, allocations: 4.562 kB / 1.07 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007638/0.9611, allocations: 329.2 kB / 1.07 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.9618, allocations: 124.9 kB / 1.07 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.9645, allocations: 1.418 MB / 1.072 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/0.9652, allocations: 0.9329 MB / 1.073 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004647/0.9656, allocations: 87.62 kB / 1.073 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.9658, allocations: 51.89 kB / 1.073 GB, free: 138.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.442e-06/0.9658, allocations: 0.875 kB / 1.073 GB, free: 138.2 MB / 0.698 GB Notification: Performance of Templates: time 0.01522/0.9811, allocations: 7.657 MB / 1.08 GB, free: 137.8 MB / 0.698 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