Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.03/2.03, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 197 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009744/0.0009745, allocations: 106 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 53.66 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2175, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8): time 0.1196/0.337, allocations: 155.5 MB / 1.37 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02269/0.3598, allocations: 22.06 MB / 1.392 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.3626, allocations: 55.69 kB / 1.392 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.003188/0.3659, allocations: 2.698 MB / 1.394 GB, free: 236 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.3681, allocations: 1.706 MB / 1.396 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.3696, allocations: 0.6191 MB / 1.396 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.3715, allocations: 2.425 MB / 1.399 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.3727, allocations: 1.239 MB / 1.4 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008768/0.3736, allocations: 1.012 MB / 1.401 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.3752, allocations: 1.966 MB / 1.403 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.3753, allocations: 68 kB / 1.403 GB, free: 7.164 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.3756, allocations: 115.9 kB / 1.403 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0005015/0.3761, allocations: 0.6947 MB / 1.404 GB, free: 6.348 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.00067/0.3768, allocations: 0.9615 MB / 1.405 GB, free: 5.379 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.3784, allocations: 2.304 MB / 1.407 GB, free: 3.066 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3784, allocations: 0 / 1.407 GB, free: 3.066 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.62e-07/0.3784, allocations: 4 kB / 1.407 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.687e-05/0.3785, allocations: 0 / 1.407 GB, free: 3.062 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003922/0.3824, allocations: 2.952 MB / 1.41 GB, free: 44 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3824, allocations: 15.98 kB / 1.41 GB, free: 28 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003296/0.3828, allocations: 313.2 kB / 1.41 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.3842, allocations: 1.274 MB / 1.411 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.3844, allocations: 103.7 kB / 1.412 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.3845, allocations: 88 kB / 1.412 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.386, allocations: 0.9732 MB / 1.413 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.386, allocations: 0 / 1.413 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/0.3861, allocations: 32 kB / 1.413 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.3861, allocations: 20 kB / 1.413 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.3875, allocations: 0.8081 MB / 1.413 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005317/0.3928, allocations: 4.397 MB / 1.418 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.3945, allocations: 0.9433 MB / 1.419 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008301/0.3954, allocations: 0.5264 MB / 1.419 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.693e-05/0.3954, allocations: 9 kB / 1.419 GB, free: 6.164 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008878/0.3963, allocations: 0.5634 MB / 1.42 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=91): time 2.083e-06/0.3963, allocations: 0 / 1.42 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=91): time 0.004292/0.4006, allocations: 2.152 MB / 1.422 GB, free: 3.383 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.4007, allocations: 60.41 kB / 1.422 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4104/0.8111, allocations: 4.436 MB / 1.426 GB, free: 205.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001985/0.8114, allocations: 49.47 kB / 1.426 GB, free: 205.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007726/0.8122, allocations: 1.21 MB / 1.427 GB, free: 204.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.8124, allocations: 298.1 kB / 1.428 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.8126, allocations: 161.7 kB / 1.428 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.8127, allocations: 343.9 kB / 1.428 GB, free: 204.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007925/0.8135, allocations: 396.1 kB / 1.429 GB, free: 204.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/0.8143, allocations: 0.5531 MB / 1.429 GB, free: 203.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.8158, allocations: 0.921 MB / 1.43 GB, free: 203.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8158, allocations: 1.062 kB / 1.43 GB, free: 203.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00258/0.8184, allocations: 1.495 MB / 1.431 GB, free: 202.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.8184, allocations: 8.25 kB / 1.431 GB, free: 202.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.8184, allocations: 3.5 kB / 1.432 GB, free: 202.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006616/0.8191, allocations: 263.3 kB / 1.432 GB, free: 202.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.8197, allocations: 173 kB / 1.432 GB, free: 202.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/0.8234, allocations: 4.358 MB / 1.436 GB, free: 199.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008663/0.8242, allocations: 139.1 kB / 1.436 GB, free: 199.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.8243, allocations: 35.58 kB / 1.436 GB, free: 199.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,tableSolRadWall.nextTimeEventScaled,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEvent,greaterThreshold2.y,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.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 (96): * Single equations (assignments): 94 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009542/0.8253, allocations: 0.7775 MB / 1.437 GB, free: 199 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.8255, allocations: 274.2 kB / 1.437 GB, free: 198.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.8259, allocations: 340.3 kB / 1.438 GB, free: 198.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.826, allocations: 8.625 kB / 1.438 GB, free: 198.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.826, allocations: 3.719 kB / 1.438 GB, free: 198.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.826, allocations: 9.672 kB / 1.438 GB, free: 198.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004345/0.8303, allocations: 2.974 MB / 1.441 GB, free: 197.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8304, allocations: 0 / 1.441 GB, free: 197.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.8308, allocations: 101.3 kB / 1.441 GB, free: 197.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005671/0.8314, allocations: 252.1 kB / 1.441 GB, free: 197.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.8314, allocations: 24.84 kB / 1.441 GB, free: 197.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003564/0.835, allocations: 4.361 MB / 1.445 GB, free: 193.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.835, allocations: 2.531 kB / 1.445 GB, free: 193.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/0.8549, allocations: 15.3 MB / 1.46 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/0.8554, allocations: 390.9 kB / 1.461 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.8555, allocations: 22.11 kB / 1.461 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.8561, allocations: 59.72 kB / 1.461 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.8563, allocations: 102.7 kB / 1.461 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/0.8564, allocations: 31.52 kB / 1.461 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002454/0.8589, allocations: 3.253 MB / 1.464 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8589, allocations: 0 / 1.464 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001273/0.8601, allocations: 0.515 MB / 1.464 GB, free: 182.7 MB / 0.9167 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0009032/0.861, allocations: 497.5 kB / 1.465 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001789/0.8629, allocations: 1.286 MB / 1.466 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8629, allocations: 0 / 1.466 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009194/0.8638, allocations: 0.8056 MB / 1.467 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.8651, allocations: 331 kB / 1.467 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.871, allocations: 6.917 MB / 1.474 GB, free: 173 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009599/0.872, allocations: 1.848 MB / 1.476 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005485/0.8726, allocations: 219.8 kB / 1.476 GB, free: 170.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.8728, allocations: 91.41 kB / 1.476 GB, free: 170.8 MB / 0.9167 GB Notification: Performance of SimCode: time 3.41e-07/0.8728, allocations: 0 / 1.476 GB, free: 170.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.02788/0.9007, allocations: 19.64 MB / 1.495 GB, free: 151.3 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1)