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.431/1.431, allocations: 249.5 MB / 257 MB, free: 6.918 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.0009919/0.0009917, allocations: 180.9 kB / 316.3 MB, free: 3.238 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.781/1.781, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.001136/0.001136, allocations: 86.53 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.573e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2436, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8129/1.057, allocations: 143 MB / 1.025 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/1.057, allocations: 76.2 kB / 1.025 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03325/1.09, allocations: 12.36 MB / 1.037 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.562e-06/1.09, allocations: 0 / 1.037 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.154e-05/1.09, allocations: 16 kB / 1.037 GB, free: 0.6328 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.001882/1.092, allocations: 0.9695 MB / 1.038 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.092, allocations: 8.031 kB / 1.038 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/1.092, allocations: 103.2 kB / 1.038 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008502/1.093, allocations: 495.6 kB / 1.039 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/1.093, allocations: 20 kB / 1.039 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/1.093, allocations: 54.86 kB / 1.039 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007077/1.094, allocations: 380.8 kB / 1.039 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009694/1.095, allocations: 0.5764 MB / 1.04 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/1.095, allocations: 7.984 kB / 1.04 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/1.095, allocations: 11.97 kB / 1.04 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/1.095, allocations: 16 kB / 1.04 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/1.098, allocations: 2.404 MB / 1.042 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/1.099, allocations: 0.5039 MB / 1.042 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/1.1, allocations: 243.3 kB / 1.043 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/1.1, allocations: 8.562 kB / 1.043 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005182/1.1, allocations: 342.1 kB / 1.043 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 2.434e-06/1.1, allocations: 0 / 1.043 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.0009296/1.101, allocations: 0.5262 MB / 1.043 GB, free: 11 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/1.101, allocations: 139.6 kB / 1.044 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/1.102, allocations: 387.2 kB / 1.044 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/1.102, allocations: 36.33 kB / 1.044 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/1.102, allocations: 344.6 kB / 1.044 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/1.102, allocations: 186.7 kB / 1.045 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/1.102, allocations: 4 kB / 1.045 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001762/1.102, allocations: 370.4 kB / 1.045 GB, free: 9.758 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/1.103, allocations: 199.2 kB / 1.045 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/1.103, allocations: 300.8 kB / 1.045 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/1.104, allocations: 219.1 kB / 1.046 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.104, allocations: 0 / 1.046 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001101/1.105, allocations: 0.6659 MB / 1.046 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003347/1.105, allocations: 0.6585 MB / 1.047 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.105, allocations: 0 / 1.047 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.105, allocations: 8 kB / 1.047 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/1.106, allocations: 119.2 kB / 1.047 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/1.106, allocations: 11.98 kB / 1.047 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/1.106, allocations: 111.5 kB / 1.047 GB, free: 7.805 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/1.106, allocations: 31.78 kB / 1.047 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/1.106, allocations: 4 kB / 1.047 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001017/1.107, allocations: 0.5986 MB / 1.048 GB, free: 7.344 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/1.107, allocations: 0 / 1.048 GB, free: 7.344 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.224e-06/1.107, allocations: 4 kB / 1.048 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/1.108, allocations: 111.3 kB / 1.048 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.108, allocations: 8 kB / 1.048 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/1.108, allocations: 99.45 kB / 1.048 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/1.108, allocations: 31.8 kB / 1.048 GB, free: 7.105 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.0001833/1.109, allocations: 130.1 kB / 1.048 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/1.109, allocations: 71.22 kB / 1.048 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/1.109, allocations: 65.06 kB / 1.048 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.109, allocations: 8.062 kB / 1.048 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/1.109, allocations: 4 kB / 1.048 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/1.109, allocations: 4 kB / 1.048 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/1.11, allocations: 1.16 MB / 1.049 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.11, allocations: 0 / 1.049 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/1.111, allocations: 103.7 kB / 1.049 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.111, allocations: 4.062 kB / 1.049 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/1.111, allocations: 7.984 kB / 1.049 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.111, allocations: 4 kB / 1.049 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.111, allocations: 4 kB / 1.049 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/1.112, allocations: 0.9179 MB / 1.05 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/1.112, allocations: 143.9 kB / 1.051 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-05/1.112, allocations: 13.03 kB / 1.051 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/1.113, allocations: 51.95 kB / 1.051 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.113, allocations: 54.09 kB / 1.051 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/1.113, allocations: 25.92 kB / 1.051 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003079/1.113, allocations: 289.2 kB / 1.051 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.6e-07/1.113, allocations: 0 / 1.051 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007086/1.114, allocations: 258.2 kB / 1.051 GB, free: 4.336 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.0002279/1.114, allocations: 141.4 kB / 1.051 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001566/1.116, allocations: 1.122 MB / 1.052 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.116, allocations: 3.688 kB / 1.052 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004113/1.116, allocations: 262.1 kB / 1.053 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/1.117, allocations: 113.5 kB / 1.053 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/1.119, allocations: 0.8427 MB / 1.054 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/1.119, allocations: 0.9311 MB / 1.054 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004968/1.12, allocations: 115 kB / 1.055 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/1.12, allocations: 47.11 kB / 1.055 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of SimCode: time 5.61e-07/1.12, allocations: 4 kB / 1.055 GB, free: 1.309 MB / 0.6667 GB Notification: Performance of Templates: time 0.01515/1.135, allocations: 7.92 MB / 1.062 GB, free: 9.504 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