Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008442/0.0008442, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008825/0.0008825, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8698/0.8698, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.724/1.724, allocations: 377.9 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.309e-05, allocations: 10.22 kB / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5487/0.5487, allocations: 138.4 MB / 1.116 GB, free: 19.37 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.5623, allocations: 19.71 MB / 1.135 GB, free: 5.789 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.5633, allocations: 74.56 kB / 1.135 GB, free: 5.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.5648, allocations: 1.174 MB / 1.137 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.566, allocations: 0.9361 MB / 1.137 GB, free: 5.207 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.5665, allocations: 387.4 kB / 1.138 GB, free: 4.984 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008323/0.5674, allocations: 1.315 MB / 1.139 GB, free: 4.402 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/0.5679, allocations: 0.534 MB / 1.14 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006384/0.5685, allocations: 0.7228 MB / 1.14 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007935/0.5693, allocations: 0.9288 MB / 1.141 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.966e-05/0.5694, allocations: 66.78 kB / 1.141 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.5696, allocations: 108.9 kB / 1.141 GB, free: 3.773 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.5698, allocations: 333.5 kB / 1.142 GB, free: 3.609 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.57, allocations: 288.5 kB / 1.142 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009833/0.571, allocations: 1.193 MB / 1.143 GB, free: 3.035 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.571, allocations: 0.5156 kB / 1.143 GB, free: 3.035 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.571, allocations: 0 / 1.143 GB, free: 3.035 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.571, allocations: 1.125 kB / 1.143 GB, free: 3.035 MB / 0.9948 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.001481/0.5725, allocations: 1.493 MB / 1.145 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.5725, allocations: 9.438 kB / 1.145 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.516e-05/0.5726, allocations: 89.23 kB / 1.145 GB, free: 1.961 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.5727, allocations: 142 kB / 1.145 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.5733, allocations: 0.6054 MB / 1.145 GB, free: 1.457 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-05/0.5734, allocations: 103.4 kB / 1.146 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.5734, allocations: 47.84 kB / 1.146 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.5741, allocations: 0.5214 MB / 1.146 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.5741, allocations: 2.281 kB / 1.146 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.5741, allocations: 16.58 kB / 1.146 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.5741, allocations: 11 kB / 1.146 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005775/0.5747, allocations: 421.8 kB / 1.147 GB, free: 0.9844 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.577, allocations: 1.92 MB / 1.148 GB, free: 15.93 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/0.5777, allocations: 432 kB / 1.149 GB, free: 15.77 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004149/0.5782, allocations: 269.1 kB / 1.149 GB, free: 15.68 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.5782, allocations: 3.891 kB / 1.149 GB, free: 15.68 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.5786, allocations: 304.4 kB / 1.149 GB, free: 15.56 MB / 1.01 GB Notification: Performance of pre-optimization done (n=45): time 1.823e-06/0.5786, allocations: 3.938 kB / 1.149 GB, free: 15.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.001975/0.5806, allocations: 1.115 MB / 1.151 GB, free: 15.17 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.5807, allocations: 56.55 kB / 1.151 GB, free: 15.11 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.5825, allocations: 1.787 MB / 1.152 GB, free: 14.52 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.5826, allocations: 38.17 kB / 1.152 GB, free: 14.48 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.5829, allocations: 0.5209 MB / 1.153 GB, free: 14.08 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.615e-05/0.583, allocations: 154.2 kB / 1.153 GB, free: 13.96 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.5831, allocations: 94.52 kB / 1.153 GB, free: 13.91 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.5832, allocations: 327.1 kB / 1.153 GB, free: 13.59 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.5835, allocations: 222.2 kB / 1.154 GB, free: 13.52 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.5839, allocations: 334.2 kB / 1.154 GB, free: 13.33 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/0.5845, allocations: 0.5125 MB / 1.154 GB, free: 13.06 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5845, allocations: 0 / 1.154 GB, free: 13.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001075/0.5856, allocations: 0.8596 MB / 1.155 GB, free: 12.71 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5856, allocations: 6.625 kB / 1.155 GB, free: 12.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.5856, allocations: 3.297 kB / 1.155 GB, free: 12.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/0.586, allocations: 183.2 kB / 1.155 GB, free: 12.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.5862, allocations: 100.4 kB / 1.156 GB, free: 12.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.5886, allocations: 2.858 MB / 1.158 GB, free: 10.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.5888, allocations: 75.03 kB / 1.158 GB, free: 10.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.5889, allocations: 19.62 kB / 1.158 GB, free: 10.52 MB / 1.01 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 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003461/0.5892, allocations: 385.7 kB / 1.159 GB, free: 10.32 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/0.5893, allocations: 124.8 kB / 1.159 GB, free: 10.25 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.5903, allocations: 0.7818 MB / 1.16 GB, free: 9.934 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.5903, allocations: 5.344 kB / 1.16 GB, free: 9.934 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5903, allocations: 2.656 kB / 1.16 GB, free: 9.934 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.5903, allocations: 4.344 kB / 1.16 GB, free: 9.934 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.5921, allocations: 1.505 MB / 1.161 GB, free: 9.215 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5921, allocations: 1.812 kB / 1.161 GB, free: 9.215 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.5922, allocations: 43.98 kB / 1.161 GB, free: 9.215 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/0.5925, allocations: 196.7 kB / 1.161 GB, free: 9.148 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.5926, allocations: 14.42 kB / 1.161 GB, free: 9.141 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003144/0.5957, allocations: 4.319 MB / 1.166 GB, free: 5.613 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5957, allocations: 0 / 1.166 GB, free: 5.613 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.5969, allocations: 1.096 MB / 1.167 GB, free: 5.09 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.5971, allocations: 148.2 kB / 1.167 GB, free: 5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.5972, allocations: 14.2 kB / 1.167 GB, free: 4.992 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.5974, allocations: 26.17 kB / 1.167 GB, free: 4.988 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.5975, allocations: 58.14 kB / 1.167 GB, free: 4.977 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.5975, allocations: 13.52 kB / 1.167 GB, free: 4.977 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001239/0.5988, allocations: 1.303 MB / 1.168 GB, free: 4.535 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5988, allocations: 4 kB / 1.168 GB, free: 4.531 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005742/0.5993, allocations: 206.8 kB / 1.168 GB, free: 4.492 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (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,13,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.002257/0.6016, allocations: 2.046 MB / 1.17 GB, free: 3.328 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000974/0.6026, allocations: 0.706 MB / 1.171 GB, free: 3.012 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6026, allocations: 3.938 kB / 1.171 GB, free: 3.008 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005321/0.6031, allocations: 0.5437 MB / 1.172 GB, free: 2.664 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.6037, allocations: 200.6 kB / 1.172 GB, free: 2.582 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008807/0.6125, allocations: 8.634 MB / 1.18 GB, free: 14.75 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.613, allocations: 0.5674 MB / 1.181 GB, free: 14.59 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.6132, allocations: 86.95 kB / 1.181 GB, free: 14.57 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.6135, allocations: 414.9 kB / 1.181 GB, free: 14.23 MB / 1.026 GB Notification: Performance of SimCode: time 7.41e-07/0.6135, allocations: 0 / 1.181 GB, free: 14.23 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.6479, allocations: 23.17 MB / 1.204 GB, free: 4.754 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.553, allocations: 2.031 kB / 1.204 GB, free: 4.754 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 12.703072207048535] Failed to read output from testmodel.py, exit status != 0: 8.668544782325625 8.677701734 8.104883342 Calling exit ...