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.409/1.409, allocations: 249.3 MB / 261.8 MB, free: 5.891 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.0009324/0.0009324, allocations: 184.8 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.000873/0.0008732, allocations: 99.03 kB / 0.6764 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.179e-05, allocations: 0 / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2198, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7835/1.003, allocations: 142.7 MB / 1.031 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.004, allocations: 74.39 kB / 1.031 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03346/1.037, allocations: 12.46 MB / 1.043 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.877e-06/1.037, allocations: 0 / 1.043 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.841e-05/1.037, allocations: 16 kB / 1.043 GB, free: 13.6 MB / 0.6667 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.00194/1.039, allocations: 0.9728 MB / 1.044 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.364e-05/1.039, allocations: 8.031 kB / 1.044 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/1.04, allocations: 99.22 kB / 1.044 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009005/1.04, allocations: 0.4909 MB / 1.045 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/1.041, allocations: 57.8 kB / 1.045 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/1.041, allocations: 72.94 kB / 1.045 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/1.042, allocations: 0.6659 MB / 1.046 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/1.042, allocations: 8 kB / 1.046 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.098e-05/1.042, allocations: 22.5 kB / 1.046 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/1.042, allocations: 16 kB / 1.046 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/1.043, allocations: 430.3 kB / 1.046 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/1.046, allocations: 2.542 MB / 1.049 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009267/1.047, allocations: 0.5428 MB / 1.049 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/1.047, allocations: 251.4 kB / 1.049 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/1.047, allocations: 8.562 kB / 1.049 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005477/1.048, allocations: 364 kB / 1.05 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 2.204e-06/1.048, allocations: 0 / 1.05 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.0009861/1.049, allocations: 0.5558 MB / 1.05 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/1.049, allocations: 144.1 kB / 1.05 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005486/1.05, allocations: 455.2 kB / 1.051 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/1.05, allocations: 47.94 kB / 1.051 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/1.05, allocations: 337 kB / 1.051 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/1.05, allocations: 193.8 kB / 1.051 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/1.05, allocations: 13.94 kB / 1.051 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.05, allocations: 381 kB / 1.052 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/1.051, allocations: 212.3 kB / 1.052 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/1.051, allocations: 325.3 kB / 1.052 GB, free: 5.992 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/1.052, allocations: 262.2 kB / 1.053 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.052, allocations: 0 / 1.053 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001174/1.053, allocations: 0.7688 MB / 1.053 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000295/1.053, allocations: 0.6578 MB / 1.054 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.053, allocations: 4 kB / 1.054 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.053, allocations: 7.984 kB / 1.054 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/1.054, allocations: 122.8 kB / 1.054 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/1.054, allocations: 7.938 kB / 1.054 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/1.054, allocations: 125.9 kB / 1.054 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/1.054, allocations: 29.48 kB / 1.054 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.186e-06/1.054, allocations: 4 kB / 1.054 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001081/1.055, allocations: 0.7027 MB / 1.055 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/1.056, allocations: 3.938 kB / 1.055 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/1.056, allocations: 4 kB / 1.055 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/1.056, allocations: 115 kB / 1.055 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/1.056, allocations: 7.953 kB / 1.055 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/1.056, allocations: 112.6 kB / 1.055 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/1.057, allocations: 27.19 kB / 1.055 GB, free: 3.48 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.000205/1.057, allocations: 158.7 kB / 1.055 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/1.057, allocations: 75.09 kB / 1.055 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/1.057, allocations: 71.97 kB / 1.055 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/1.057, allocations: 4 kB / 1.055 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.057, allocations: 4 kB / 1.055 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.057, allocations: 11.88 kB / 1.056 GB, free: 3.215 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/1.059, allocations: 1.276 MB / 1.057 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.059, allocations: 0 / 1.057 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/1.059, allocations: 111.2 kB / 1.057 GB, free: 2.078 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/1.059, allocations: 4 kB / 1.057 GB, free: 2.074 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/1.059, allocations: 22.62 kB / 1.057 GB, free: 2.062 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.059, allocations: 4 kB / 1.057 GB, free: 2.059 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.059, allocations: 0 / 1.057 GB, free: 2.059 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/1.061, allocations: 0.9729 MB / 1.058 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/1.061, allocations: 139 kB / 1.058 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/1.061, allocations: 27.55 kB / 1.058 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/1.061, allocations: 63.33 kB / 1.058 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/1.062, allocations: 54.86 kB / 1.058 GB, free: 1.031 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/1.062, allocations: 27.28 kB / 1.058 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004388/1.062, allocations: 356.5 kB / 1.058 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.31e-07/1.062, allocations: 0 / 1.058 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007919/1.063, allocations: 278.7 kB / 1.059 GB, free: 0.4961 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.0002538/1.063, allocations: 149 kB / 1.059 GB, free: 360 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001673/1.065, allocations: 1.185 MB / 1.06 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.065, allocations: 4.062 kB / 1.06 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004986/1.065, allocations: 273.7 kB / 1.06 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/1.066, allocations: 129.4 kB / 1.06 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/1.068, allocations: 0.8705 MB / 1.061 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/1.068, allocations: 0.9317 MB / 1.062 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004639/1.069, allocations: 123.3 kB / 1.062 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/1.069, allocations: 46.17 kB / 1.062 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/1.069, allocations: 0 / 1.062 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of Templates: time 0.01591/1.085, allocations: 8.729 MB / 1.071 GB, free: 4.707 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