Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001324/0.001324, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001532/0.001532, allocations: 189.9 kB / 16.25 MB, free: 6.629 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001951/0.001951, allocations: 287.8 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9457/0.9457, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 89.47 kB / 0.5947 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1477, allocations: 86.98 MB / 0.6796 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4198/0.5676, allocations: 154.6 MB / 0.8306 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02395/0.5916, allocations: 21.49 MB / 0.8516 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/0.5943, allocations: 49.38 kB / 0.8516 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.5958, allocations: 1.132 MB / 0.8527 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.5972, allocations: 0.8117 MB / 0.8535 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.5984, allocations: 386.5 kB / 0.8539 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.5995, allocations: 1.256 MB / 0.8551 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000723/0.6003, allocations: 0.6845 MB / 0.8558 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000569/0.6009, allocations: 0.5637 MB / 0.8563 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000796/0.6017, allocations: 0.9484 MB / 0.8573 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.3e-05/0.6018, allocations: 69.78 kB / 0.8573 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.602, allocations: 111.9 kB / 0.8574 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.6022, allocations: 334 kB / 0.8577 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.6026, allocations: 490.7 kB / 0.8582 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009615/0.6035, allocations: 1.182 MB / 0.8594 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6036, allocations: 1.812 kB / 0.8594 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6036, allocations: 0 / 0.8594 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.6036, allocations: 0 / 0.8594 GB, free: 7.34 MB / 0.5762 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.002018/0.6056, allocations: 1.475 MB / 0.8608 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.6057, allocations: 13.47 kB / 0.8608 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.6058, allocations: 134.9 kB / 0.861 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000737/0.6066, allocations: 0.6589 MB / 0.8616 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.6067, allocations: 67.28 kB / 0.8617 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/0.6068, allocations: 53.42 kB / 0.8617 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008508/0.6076, allocations: 0.5195 MB / 0.8622 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.6076, allocations: 2.906 kB / 0.8622 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.6077, allocations: 18.75 kB / 0.8622 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.6077, allocations: 10.09 kB / 0.8622 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007285/0.6084, allocations: 416.1 kB / 0.8626 GB, free: 4.969 MB / 0.5762 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.003196/0.6117, allocations: 2.802 MB / 0.8654 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009134/0.6126, allocations: 458.2 kB / 0.8658 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005013/0.6131, allocations: 284.7 kB / 0.8661 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.6131, allocations: 14.28 kB / 0.8661 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005154/0.6137, allocations: 294 kB / 0.8664 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.455e-06/0.6137, allocations: 0 / 0.8664 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.002714/0.6164, allocations: 1.259 MB / 0.8676 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.6165, allocations: 60.47 kB / 0.8677 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.618, allocations: 1.748 MB / 0.8694 GB, free: 360 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.618, allocations: 38.95 kB / 0.8694 GB, free: 320 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.6184, allocations: 0.5153 MB / 0.8699 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.6185, allocations: 149.4 kB / 0.8701 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.6187, allocations: 94.88 kB / 0.8702 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.6188, allocations: 326.6 kB / 0.8705 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.6192, allocations: 218 kB / 0.8707 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.6197, allocations: 328 kB / 0.871 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000815/0.6206, allocations: 0.5103 MB / 0.8715 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.6206, allocations: 2.094 kB / 0.8715 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001519/0.6221, allocations: 0.8469 MB / 0.8723 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.6221, allocations: 10.19 kB / 0.8723 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6222, allocations: 2.469 kB / 0.8723 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004942/0.6227, allocations: 187.6 kB / 0.8725 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.623, allocations: 96.09 kB / 0.8726 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.6264, allocations: 2.999 MB / 0.8755 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.6269, allocations: 75.98 kB / 0.8756 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.6269, allocations: 18.94 kB / 0.8756 GB, free: 11.63 MB / 0.5919 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_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 (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.0005474/0.6275, allocations: 392.6 kB / 0.876 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.6276, allocations: 119.7 kB / 0.8761 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.6278, allocations: 143.6 kB / 0.8762 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.6279, allocations: 4.469 kB / 0.8762 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.6279, allocations: 2.969 kB / 0.8762 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6279, allocations: 0 / 0.8762 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.6302, allocations: 1.561 MB / 0.8778 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6303, allocations: 2.625 kB / 0.8778 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.6305, allocations: 44.56 kB / 0.8778 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004508/0.6309, allocations: 198.4 kB / 0.878 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.631, allocations: 13.03 kB / 0.878 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.6352, allocations: 4.558 MB / 0.8825 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6352, allocations: 4.062 kB / 0.8825 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.6369, allocations: 1.062 MB / 0.8835 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.6372, allocations: 209.6 kB / 0.8837 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.6373, allocations: 13.27 kB / 0.8837 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.6377, allocations: 41.23 kB / 0.8838 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.6378, allocations: 54.3 kB / 0.8838 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.6379, allocations: 20.83 kB / 0.8838 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00131/0.6392, allocations: 1.282 MB / 0.8851 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6392, allocations: 0 / 0.8851 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000799/0.64, allocations: 211.7 kB / 0.8853 GB, free: 4.195 MB / 0.5919 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,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.001163/0.6412, allocations: 490.9 kB / 0.8858 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.6428, allocations: 0.7597 MB / 0.8865 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6428, allocations: 0.6875 kB / 0.8865 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009281/0.6437, allocations: 0.5591 MB / 0.887 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009846/0.6447, allocations: 206.7 kB / 0.8872 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.6486, allocations: 2.705 MB / 0.8899 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/0.6495, allocations: 1.149 MB / 0.891 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002874/0.6498, allocations: 88.77 kB / 0.8911 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.6499, allocations: 47.42 kB / 0.8911 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.6499, allocations: 0 / 0.8911 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of Templates: time 0.01956/0.6695, allocations: 10.23 MB / 0.9011 GB, free: 4.215 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)