Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.923/1.923, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 180.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.684/1.684, allocations: 223.2 MB / 0.6626 GB, free: 4.285 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008805/0.0008802, allocations: 95.52 kB / 0.7808 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004974, allocations: 19.98 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7841/0.7846, allocations: 120.3 MB / 1.026 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.481/5.265, allocations: 2.18 GB / 3.206 GB, free: 48.87 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/5.266, allocations: 101.1 kB / 3.206 GB, free: 48.77 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.6574/5.923, allocations: 64.82 MB / 3.27 GB, free: 271.7 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.377e-06/5.923, allocations: 0 / 3.27 GB, free: 271.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001997/5.923, allocations: 26.97 kB / 3.27 GB, free: 271.7 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003786/5.927, allocations: 1.417 MB / 3.271 GB, free: 270.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/5.927, allocations: 11.47 kB / 3.271 GB, free: 270.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005376/5.928, allocations: 135.5 kB / 3.271 GB, free: 270.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/5.931, allocations: 1.166 MB / 3.272 GB, free: 270.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/5.931, allocations: 77.77 kB / 3.272 GB, free: 270.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/5.931, allocations: 50.64 kB / 3.272 GB, free: 270.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/5.932, allocations: 0.5141 MB / 3.273 GB, free: 270.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/5.932, allocations: 0 / 3.273 GB, free: 270.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/5.933, allocations: 19.75 kB / 3.273 GB, free: 270.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/5.933, allocations: 10.81 kB / 3.273 GB, free: 270.3 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009781/5.934, allocations: 407.3 kB / 3.273 GB, free: 270.3 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005613/5.939, allocations: 2.729 MB / 3.276 GB, free: 269 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/5.94, allocations: 459.7 kB / 3.276 GB, free: 269 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006468/5.941, allocations: 285.5 kB / 3.277 GB, free: 268.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/5.941, allocations: 4.516 kB / 3.277 GB, free: 268.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006987/5.942, allocations: 295.8 kB / 3.277 GB, free: 268.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=45): time 5.661e-06/5.942, allocations: 0 / 3.277 GB, free: 268.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=45): time 0.003651/5.946, allocations: 1.232 MB / 3.278 GB, free: 268.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/5.946, allocations: 61.16 kB / 3.278 GB, free: 268.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/5.95, allocations: 1.699 MB / 3.28 GB, free: 268.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.913e-05/5.95, allocations: 37.42 kB / 3.28 GB, free: 268.3 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005545/5.951, allocations: 0.5167 MB / 3.281 GB, free: 268.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/5.951, allocations: 146.2 kB / 3.281 GB, free: 268.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/5.951, allocations: 13.75 kB / 3.281 GB, free: 268.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/5.951, allocations: 326.5 kB / 3.281 GB, free: 267.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/5.951, allocations: 228 kB / 3.281 GB, free: 267.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/5.952, allocations: 335.6 kB / 3.282 GB, free: 267.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000913/5.953, allocations: 0.5154 MB / 3.282 GB, free: 267.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/5.953, allocations: 0 / 3.282 GB, free: 267.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001839/5.955, allocations: 0.8486 MB / 3.283 GB, free: 267.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/5.955, allocations: 6.125 kB / 3.283 GB, free: 267.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/5.955, allocations: 3.031 kB / 3.283 GB, free: 267.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/5.956, allocations: 165.7 kB / 3.283 GB, free: 267.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/5.956, allocations: 107.9 kB / 3.283 GB, free: 267.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/5.959, allocations: 2.603 MB / 3.286 GB, free: 266 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/5.96, allocations: 92.02 kB / 3.286 GB, free: 266 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/5.96, allocations: 18.88 kB / 3.286 GB, free: 266 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008463/5.961, allocations: 391.1 kB / 3.286 GB, free: 265.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003694/5.961, allocations: 119 kB / 3.286 GB, free: 265.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/5.963, allocations: 0.7559 MB / 3.287 GB, free: 265.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/5.963, allocations: 2.031 kB / 3.287 GB, free: 265.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/5.963, allocations: 8.562 kB / 3.287 GB, free: 265.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/5.963, allocations: 3.234 kB / 3.287 GB, free: 265.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003794/5.967, allocations: 1.782 MB / 3.289 GB, free: 265.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/5.967, allocations: 0 / 3.289 GB, free: 265.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/5.967, allocations: 51.64 kB / 3.289 GB, free: 265.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005579/5.968, allocations: 180 kB / 3.289 GB, free: 265.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/5.968, allocations: 18.17 kB / 3.289 GB, free: 265.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004525/5.972, allocations: 3.97 MB / 3.293 GB, free: 262.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/5.972, allocations: 2.172 kB / 3.293 GB, free: 262.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/5.975, allocations: 1.056 MB / 3.294 GB, free: 262.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009194/5.976, allocations: 307.4 kB / 3.294 GB, free: 262.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/5.976, allocations: 16.36 kB / 3.294 GB, free: 262.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/5.977, allocations: 46.89 kB / 3.294 GB, free: 262.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/5.977, allocations: 55.45 kB / 3.294 GB, free: 262.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.145e-05/5.977, allocations: 20.91 kB / 3.294 GB, free: 262.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003285/5.981, allocations: 1.237 MB / 3.296 GB, free: 262.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.71e-07/5.981, allocations: 0 / 3.296 GB, free: 262.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001656/5.982, allocations: 316.7 kB / 3.296 GB, free: 262.1 MB / 0.9792 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002411/5.985, allocations: 0.9593 MB / 3.297 GB, free: 261.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002033/5.987, allocations: 0.7259 MB / 3.297 GB, free: 261.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/5.987, allocations: 448 / 3.297 GB, free: 261.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/5.988, allocations: 0.5591 MB / 3.298 GB, free: 261.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/5.99, allocations: 198.5 kB / 3.298 GB, free: 261.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/5.995, allocations: 2.796 MB / 3.301 GB, free: 260.4 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/5.996, allocations: 1.157 MB / 3.302 GB, free: 259.7 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005732/5.996, allocations: 146.8 kB / 3.302 GB, free: 259.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/5.997, allocations: 65.8 kB / 3.302 GB, free: 259.7 MB / 0.9792 GB Notification: Performance of SimCode: time 7.42e-07/5.997, allocations: 0 / 3.302 GB, free: 259.7 MB / 0.9792 GB Notification: Performance of Templates: time 0.03434/6.031, allocations: 18.74 MB / 3.321 GB, free: 258.5 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)