Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 111 kB / 16.41 MB, free: 6.492 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.001378/0.001378, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 293.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9032/0.9032, allocations: 169.2 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 91.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4465, allocations: 86.98 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1581/0.6046, allocations: 156.7 MB / 0.9201 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02599/0.6306, allocations: 21.76 MB / 0.9413 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.6328, allocations: 55.69 kB / 0.9414 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.6347, allocations: 1.165 MB / 0.9425 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.6366, allocations: 0.8485 MB / 0.9433 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.638, allocations: 441.8 kB / 0.9438 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.6397, allocations: 1.263 MB / 0.945 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.6408, allocations: 0.6753 MB / 0.9457 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009786/0.6418, allocations: 0.5529 MB / 0.9462 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.6432, allocations: 0.9177 MB / 0.9471 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.6433, allocations: 68 kB / 0.9472 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.6437, allocations: 116 kB / 0.9473 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.6441, allocations: 312.7 kB / 0.9476 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005221/0.6446, allocations: 492.8 kB / 0.948 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.6459, allocations: 1.197 MB / 0.9492 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.6459, allocations: 0 / 0.9492 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.136e-06/0.6459, allocations: 3.984 kB / 0.9492 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.634e-05/0.646, allocations: 0 / 0.9492 GB, free: 8.645 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002563/0.6485, allocations: 1.478 MB / 0.9507 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6486, allocations: 8.031 kB / 0.9507 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.6489, allocations: 135.2 kB / 0.9508 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009313/0.6498, allocations: 0.6666 MB / 0.9514 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.65, allocations: 74.69 kB / 0.9515 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.109e-05/0.6501, allocations: 51.98 kB / 0.9516 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.6511, allocations: 0.5261 MB / 0.9521 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6511, allocations: 0 / 0.9521 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.6512, allocations: 16 kB / 0.9521 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.6512, allocations: 12 kB / 0.9521 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000834/0.652, allocations: 415.7 kB / 0.9525 GB, free: 5.152 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.003653/0.6557, allocations: 2.72 MB / 0.9552 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009691/0.6567, allocations: 444.6 kB / 0.9556 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006407/0.6573, allocations: 307.7 kB / 0.9559 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.009e-05/0.6574, allocations: 8.312 kB / 0.9559 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000555/0.6579, allocations: 276 kB / 0.9561 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 2.204e-06/0.6579, allocations: 4 kB / 0.9561 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.3189/0.9768, allocations: 1.146 MB / 0.9573 GB, free: 192 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.9769, allocations: 57.55 kB / 0.9573 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.9796, allocations: 1.76 MB / 0.959 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.752e-05/0.9797, allocations: 38.39 kB / 0.9591 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.9801, allocations: 0.524 MB / 0.9596 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.9803, allocations: 146.5 kB / 0.9597 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.9804, allocations: 96.86 kB / 0.9598 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.965e-05/0.9805, allocations: 337 kB / 0.9601 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.981, allocations: 208.6 kB / 0.9603 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.9815, allocations: 344.6 kB / 0.9607 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/0.9823, allocations: 0.5148 MB / 0.9612 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.9823, allocations: 1.922 kB / 0.9612 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001443/0.9837, allocations: 0.8121 MB / 0.962 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.9838, allocations: 7.734 kB / 0.962 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.9838, allocations: 3.438 kB / 0.962 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.9842, allocations: 132.9 kB / 0.9621 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.9845, allocations: 104.2 kB / 0.9622 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.9869, allocations: 2.606 MB / 0.9647 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.9874, allocations: 74.44 kB / 0.9648 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.9874, allocations: 21.3 kB / 0.9648 GB, free: 187.7 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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_last,$PRE.mean.y_last,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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004434/0.9879, allocations: 390.9 kB / 0.9652 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.988, allocations: 112.3 kB / 0.9653 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.9882, allocations: 142.1 kB / 0.9655 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.9882, allocations: 7.5 kB / 0.9655 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.9882, allocations: 7.312 kB / 0.9655 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.9882, allocations: 3.172 kB / 0.9655 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.9903, allocations: 1.487 MB / 0.9669 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.9903, allocations: 0 / 0.9669 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.9905, allocations: 46.59 kB / 0.967 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003786/0.9909, allocations: 161.8 kB / 0.9671 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.9909, allocations: 14.75 kB / 0.9671 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/0.9936, allocations: 4.031 MB / 0.9711 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9937, allocations: 3.938 kB / 0.9711 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.9951, allocations: 0.9905 MB / 0.972 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.9954, allocations: 208.1 kB / 0.9722 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-05/0.9955, allocations: 9.344 kB / 0.9722 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.9958, allocations: 40.45 kB / 0.9723 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.9959, allocations: 49.42 kB / 0.9723 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.9959, allocations: 17.59 kB / 0.9724 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001131/0.9971, allocations: 1.285 MB / 0.9736 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9971, allocations: 0 / 0.9736 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006527/0.9977, allocations: 200.1 kB / 0.9738 GB, free: 181.6 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_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 (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,12,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.0009897/0.9987, allocations: 479.1 kB / 0.9743 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.9999, allocations: 0.6691 MB / 0.9749 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.9999, allocations: 4.062 kB / 0.9749 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006133/1.001, allocations: 0.5166 MB / 0.9754 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008426/1.001, allocations: 204.8 kB / 0.9756 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/1.004, allocations: 2.418 MB / 0.978 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/1.005, allocations: 1.146 MB / 0.9791 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/1.005, allocations: 47.42 kB / 0.9791 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of SimCode: time 7.91e-07/1.005, allocations: 0 / 0.9791 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.0172/1.022, allocations: 17.82 MB / 0.9965 GB, free: 158.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)