Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001545, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 191 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 62.3 kB / 0.8984 GB, free: 37.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2809, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1576/0.4386, allocations: 155 MB / 1.203 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02565/0.4643, allocations: 21.85 MB / 1.225 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.4662, allocations: 51.69 kB / 1.225 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.4687, allocations: 2.105 MB / 1.227 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.471, allocations: 1.371 MB / 1.228 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.4724, allocations: 0.5159 MB / 1.229 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002315/0.4748, allocations: 1.902 MB / 1.231 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.4763, allocations: 0.9899 MB / 1.232 GB, free: 416 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.4777, allocations: 0.7905 MB / 1.232 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.4796, allocations: 1.522 MB / 1.234 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.4798, allocations: 52 kB / 1.234 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003765/0.4802, allocations: 99.86 kB / 1.234 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00047/0.4807, allocations: 0.5196 MB / 1.234 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007823/0.4815, allocations: 0.7328 MB / 1.235 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.483, allocations: 1.775 MB / 1.237 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.483, allocations: 0 / 1.237 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.657e-06/0.483, allocations: 4 kB / 1.237 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.682e-05/0.4831, allocations: 0 / 1.237 GB, free: 10.89 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003558/0.4867, allocations: 2.281 MB / 1.239 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.4867, allocations: 12.03 kB / 1.239 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/0.487, allocations: 230 kB / 1.239 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.4883, allocations: 1.011 MB / 1.24 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.4884, allocations: 83 kB / 1.24 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.4886, allocations: 64 kB / 1.241 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.4899, allocations: 0.7251 MB / 1.241 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.49, allocations: 0 / 1.241 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.638e-05/0.49, allocations: 32 kB / 1.241 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.4901, allocations: 15.98 kB / 1.241 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.4913, allocations: 0.5906 MB / 1.242 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/0.496, allocations: 3.529 MB / 1.245 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.4976, allocations: 0.7099 MB / 1.246 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007539/0.4983, allocations: 403.5 kB / 1.246 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/0.4984, allocations: 8.562 kB / 1.246 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009133/0.4993, allocations: 438.8 kB / 1.247 GB, free: 360 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 2.735e-06/0.4993, allocations: 0 / 1.247 GB, free: 360 kB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.5283/1.028, allocations: 1.794 MB / 1.249 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/1.028, allocations: 64.31 kB / 1.249 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004548/1.032, allocations: 3.307 MB / 1.252 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-05/1.032, allocations: 44.7 kB / 1.252 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006383/1.033, allocations: 0.8853 MB / 1.253 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/1.033, allocations: 225.3 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.033, allocations: 130.1 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.499e-05/1.034, allocations: 337.9 kB / 1.253 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/1.034, allocations: 310.9 kB / 1.254 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/1.035, allocations: 431.2 kB / 1.254 GB, free: 195 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/1.036, allocations: 0.7185 MB / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/1.036, allocations: 0 / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002406/1.038, allocations: 1.214 MB / 1.256 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/1.038, allocations: 5.781 kB / 1.256 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.038, allocations: 3.172 kB / 1.256 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008208/1.039, allocations: 263 kB / 1.256 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/1.04, allocations: 129.7 kB / 1.256 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004401/1.044, allocations: 4.371 MB / 1.261 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007532/1.045, allocations: 100 kB / 1.261 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/1.045, allocations: 28.73 kB / 1.261 GB, free: 191.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007556/1.046, allocations: 0.6084 MB / 1.261 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/1.046, allocations: 205.6 kB / 1.262 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/1.047, allocations: 250.4 kB / 1.262 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.047, allocations: 7.406 kB / 1.262 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.133e-05/1.047, allocations: 3.344 kB / 1.262 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/1.047, allocations: 4.609 kB / 1.262 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00458/1.051, allocations: 2.342 MB / 1.264 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.051, allocations: 0.7969 kB / 1.264 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/1.052, allocations: 72.09 kB / 1.264 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007161/1.052, allocations: 248.2 kB / 1.264 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/1.052, allocations: 18.16 kB / 1.264 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00464/1.057, allocations: 4.368 MB / 1.269 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/1.057, allocations: 0 / 1.269 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/1.061, allocations: 1.577 MB / 1.27 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005721/1.061, allocations: 307 kB / 1.271 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/1.061, allocations: 21.48 kB / 1.271 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/1.062, allocations: 56 kB / 1.271 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/1.062, allocations: 74.62 kB / 1.271 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.665e-05/1.062, allocations: 24.94 kB / 1.271 GB, free: 188 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00427/1.067, allocations: 2.426 MB / 1.273 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.067, allocations: 4 kB / 1.273 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001552/1.068, allocations: 284.9 kB / 1.273 GB, free: 187.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001354/1.07, allocations: 0.4899 MB / 1.274 GB, free: 187 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002249/1.072, allocations: 1.055 MB / 1.275 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.072, allocations: 0 / 1.275 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/1.073, allocations: 0.6927 MB / 1.276 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/1.075, allocations: 271.7 kB / 1.276 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/1.082, allocations: 4.547 MB / 1.28 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/1.084, allocations: 1.534 MB / 1.282 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006473/1.085, allocations: 147.9 kB / 1.282 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/1.085, allocations: 64.88 kB / 1.282 GB, free: 183 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/1.085, allocations: 0 / 1.282 GB, free: 183 MB / 0.9981 GB Notification: Performance of Templates: time 0.03089/1.116, allocations: 13.61 MB / 1.295 GB, free: 176.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches