Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009008/0.0009039, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009862/0.0009862, allocations: 193.5 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.142/1.142, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 251.6 MB / 0.5089 GB, free: 3.262 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 75.89 kB / 0.6218 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3716, allocations: 104.7 MB / 0.724 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1362/0.5078, allocations: 155.1 MB / 0.8754 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01968/0.5275, allocations: 21.55 MB / 0.8965 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.5291, allocations: 47.69 kB / 0.8965 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.5311, allocations: 2.117 MB / 0.8986 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.5327, allocations: 1.359 MB / 0.8999 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.5338, allocations: 499.7 kB / 0.9004 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.5355, allocations: 1.816 MB / 0.9022 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.5366, allocations: 1.084 MB / 0.9032 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009625/0.5376, allocations: 0.8802 MB / 0.9041 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.5389, allocations: 1.596 MB / 0.9056 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.539, allocations: 92 kB / 0.9057 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.5393, allocations: 140 kB / 0.9059 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003725/0.5397, allocations: 0.555 MB / 0.9064 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005242/0.5402, allocations: 0.7797 MB / 0.9072 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3186/0.8588, allocations: 1.807 MB / 0.9089 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.8588, allocations: 1.812 kB / 0.9089 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8588, allocations: 0.875 kB / 0.9089 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.958e-05/0.8589, allocations: 0 / 0.9089 GB, free: 9.203 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002785/0.8617, allocations: 2.277 MB / 0.9112 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.8617, allocations: 9.891 kB / 0.9112 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.862, allocations: 226.7 kB / 0.9114 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.863, allocations: 1 MB / 0.9124 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.8631, allocations: 93.55 kB / 0.9125 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.974e-05/0.8632, allocations: 64.41 kB / 0.9125 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.8645, allocations: 0.7235 MB / 0.9132 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.8645, allocations: 1.562 kB / 0.9132 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.8646, allocations: 25.66 kB / 0.9132 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.8646, allocations: 16.97 kB / 0.9133 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.8656, allocations: 0.5908 MB / 0.9138 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.8696, allocations: 3.512 MB / 0.9173 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.8709, allocations: 0.7006 MB / 0.918 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006628/0.8716, allocations: 413 kB / 0.9184 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.8716, allocations: 11.2 kB / 0.9184 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007115/0.8723, allocations: 437.7 kB / 0.9188 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=70): time 2.194e-06/0.8723, allocations: 2.031 kB / 0.9188 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70): time 0.003962/0.8763, allocations: 1.797 MB / 0.9205 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.8764, allocations: 62.36 kB / 0.9206 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.8792, allocations: 3.303 MB / 0.9238 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.8792, allocations: 42.36 kB / 0.9239 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.8797, allocations: 0.8891 MB / 0.9247 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.8798, allocations: 227.1 kB / 0.9249 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.88, allocations: 128.7 kB / 0.9251 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.8801, allocations: 336.2 kB / 0.9254 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/0.8806, allocations: 309.2 kB / 0.9257 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.8811, allocations: 436.9 kB / 0.9261 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009538/0.8821, allocations: 0.7222 MB / 0.9268 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.8821, allocations: 3.531 kB / 0.9268 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001773/0.8839, allocations: 1.206 MB / 0.928 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.8839, allocations: 6.25 kB / 0.928 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8839, allocations: 6.031 kB / 0.928 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/0.8845, allocations: 259.3 kB / 0.9282 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.8849, allocations: 136.7 kB / 0.9284 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.8882, allocations: 4.763 MB / 0.933 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.8888, allocations: 95.95 kB / 0.9331 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.8889, allocations: 29.59 kB / 0.9331 GB, free: 0.9375 MB / 0.7169 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,$PRE.mean.y,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.0006703/0.8896, allocations: 0.6079 MB / 0.9337 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.8898, allocations: 201.8 kB / 0.9339 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.8901, allocations: 255.3 kB / 0.9342 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.8901, allocations: 6.844 kB / 0.9342 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/0.8901, allocations: 4.484 kB / 0.9342 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.8901, allocations: 7.266 kB / 0.9342 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.8929, allocations: 2.332 MB / 0.9365 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.893, allocations: 3.297 kB / 0.9365 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.8932, allocations: 67.98 kB / 0.9365 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/0.8937, allocations: 250.4 kB / 0.9368 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.8938, allocations: 19.27 kB / 0.9368 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003657/0.8974, allocations: 4.77 MB / 0.9415 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8975, allocations: 2.266 kB / 0.9415 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.8997, allocations: 1.569 MB / 0.943 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/0.9001, allocations: 312.7 kB / 0.9433 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.9002, allocations: 19.84 kB / 0.9433 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.9006, allocations: 52.8 kB / 0.9434 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.9008, allocations: 76.27 kB / 0.9434 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.9008, allocations: 27.09 kB / 0.9435 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001854/0.9027, allocations: 2.419 MB / 0.9458 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9027, allocations: 0 / 0.9458 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008379/0.9035, allocations: 292.4 kB / 0.9461 GB, free: 12.7 MB / 0.7325 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) * 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.0009251/0.9045, allocations: 0.4917 MB / 0.9466 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.9063, allocations: 1.152 MB / 0.9477 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9063, allocations: 0 / 0.9477 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008552/0.9071, allocations: 0.6891 MB / 0.9484 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.9084, allocations: 288.3 kB / 0.9487 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.9128, allocations: 4.532 MB / 0.9531 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/0.9137, allocations: 1.526 MB / 0.9546 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003562/0.914, allocations: 149.6 kB / 0.9547 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.9142, allocations: 71.16 kB / 0.9548 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.9142, allocations: 0.9688 kB / 0.9548 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of Templates: time 0.02013/0.9343, allocations: 14.12 MB / 0.9686 GB, free: 8.535 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)