Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009296/0.0009297, 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.0009428/0.0009428, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.155/1.155, allocations: 205.1 MB / 222 MB, free: 4.758 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.319/1.319, allocations: 251.6 MB / 0.5088 GB, free: 3.324 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.001228/0.001228, allocations: 63.91 kB / 0.6216 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3733, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.133/0.5064, allocations: 154.5 MB / 0.8746 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.527, allocations: 21.42 MB / 0.8956 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.5285, allocations: 47.69 kB / 0.8956 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.53, allocations: 1.122 MB / 0.8967 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.5313, allocations: 0.8099 MB / 0.8975 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008781/0.5322, allocations: 362.1 kB / 0.8978 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.5333, allocations: 1.341 MB / 0.8991 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006152/0.534, allocations: 0.612 MB / 0.8997 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/0.5344, allocations: 0.4905 MB / 0.9002 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008324/0.5353, allocations: 0.9021 MB / 0.9011 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.63e-05/0.5354, allocations: 36 kB / 0.9011 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.5356, allocations: 91.89 kB / 0.9012 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.5358, allocations: 300.8 kB / 0.9015 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.5362, allocations: 456.9 kB / 0.902 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007875/0.537, allocations: 1.152 MB / 0.9031 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.537, allocations: 0 / 0.9031 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.81e-07/0.537, allocations: 4 kB / 0.9031 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.537, allocations: 0 / 0.9031 GB, free: 4.93 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001885/0.5389, allocations: 1.479 MB / 0.9045 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.5389, allocations: 12.03 kB / 0.9045 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.5391, allocations: 131.2 kB / 0.9047 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.5398, allocations: 0.651 MB / 0.9053 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.5399, allocations: 74.62 kB / 0.9054 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.54, allocations: 48 kB / 0.9054 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008115/0.5408, allocations: 0.5145 MB / 0.9059 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.5408, allocations: 0 / 0.9059 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.5409, allocations: 19.98 kB / 0.9059 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.5409, allocations: 12 kB / 0.9059 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/0.5416, allocations: 415.7 kB / 0.9063 GB, free: 1.457 MB / 0.7169 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.2783/0.8199, allocations: 2.79 MB / 0.9091 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.821, allocations: 456.7 kB / 0.9095 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/0.8216, allocations: 284 kB / 0.9098 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.8217, allocations: 5.422 kB / 0.9098 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005592/0.8222, allocations: 299.8 kB / 0.9101 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 2.394e-06/0.8222, allocations: 0 / 0.9101 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.002852/0.8251, allocations: 1.24 MB / 0.9113 GB, free: 184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.8251, allocations: 60.95 kB / 0.9113 GB, free: 184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.8272, allocations: 1.749 MB / 0.913 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.8273, allocations: 38.8 kB / 0.9131 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.8276, allocations: 0.5219 MB / 0.9136 GB, free: 183 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/0.8277, allocations: 145.8 kB / 0.9137 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.8279, allocations: 93.7 kB / 0.9138 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.8279, allocations: 333.6 kB / 0.9141 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.8284, allocations: 215.5 kB / 0.9143 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.8289, allocations: 332.7 kB / 0.9147 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/0.8298, allocations: 0.5142 MB / 0.9152 GB, free: 182 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.8298, allocations: 1.359 kB / 0.9152 GB, free: 182 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001607/0.8314, allocations: 0.8421 MB / 0.916 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.8314, allocations: 5.906 kB / 0.916 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.8314, allocations: 2.688 kB / 0.916 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/0.832, allocations: 184.1 kB / 0.9162 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.8323, allocations: 107.5 kB / 0.9163 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/0.8353, allocations: 2.737 MB / 0.9189 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/0.8357, allocations: 76.48 kB / 0.919 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.8358, allocations: 20.03 kB / 0.919 GB, free: 179.5 MB / 0.7169 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,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (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.0005071/0.8363, allocations: 396.7 kB / 0.9194 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.8365, allocations: 115.1 kB / 0.9195 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.8367, allocations: 148.2 kB / 0.9197 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.8367, allocations: 4.875 kB / 0.9197 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.8367, allocations: 2.938 kB / 0.9197 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.8367, allocations: 3.203 kB / 0.9197 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.8389, allocations: 1.559 MB / 0.9212 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.8389, allocations: 4 kB / 0.9212 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.8392, allocations: 44.02 kB / 0.9212 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.8396, allocations: 193.5 kB / 0.9214 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.8396, allocations: 15.88 kB / 0.9214 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/0.8426, allocations: 4.129 MB / 0.9255 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.8426, allocations: 0 / 0.9255 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.844, allocations: 1.05 MB / 0.9265 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.8442, allocations: 217.8 kB / 0.9267 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.91e-05/0.8443, allocations: 21.45 kB / 0.9267 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.8446, allocations: 30.69 kB / 0.9268 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.8447, allocations: 56.59 kB / 0.9268 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.8448, allocations: 19.59 kB / 0.9268 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009423/0.8457, allocations: 1.274 MB / 0.9281 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.61e-07/0.8457, allocations: 4 kB / 0.9281 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006452/0.8464, allocations: 210.8 kB / 0.9283 GB, free: 173.1 MB / 0.7169 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) * 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 (28): * Single equations (assignments): 20 * 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.0008749/0.8472, allocations: 491.3 kB / 0.9287 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.8484, allocations: 0.7169 MB / 0.9294 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8484, allocations: 0 / 0.9294 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000656/0.8491, allocations: 0.5578 MB / 0.93 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.8499, allocations: 184.7 kB / 0.9302 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.8525, allocations: 2.692 MB / 0.9328 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.853, allocations: 1.149 MB / 0.9339 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002296/0.8532, allocations: 96.72 kB / 0.934 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.8533, allocations: 47.42 kB / 0.9341 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8533, allocations: 0 / 0.9341 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.01295/0.8663, allocations: 9.834 MB / 0.9437 GB, free: 157.6 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)