Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 114.8 kB / 16.37 MB, free: 6.004 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.001192/0.001192, allocations: 196 kB / 17.31 MB, free: 5.613 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 287.3 kB / 291.4 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.879/0.879, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 101.3 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1413, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.3742/0.5155, allocations: 156.7 MB / 0.8347 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02083/0.5364, allocations: 21.75 MB / 0.8559 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.5378, allocations: 51.69 kB / 0.8559 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.5392, allocations: 1.161 MB / 0.8571 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.5404, allocations: 0.8601 MB / 0.8579 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000923/0.5413, allocations: 433.7 kB / 0.8583 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.5425, allocations: 1.257 MB / 0.8596 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006872/0.5432, allocations: 0.6866 MB / 0.8602 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000519/0.5437, allocations: 0.549 MB / 0.8608 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008682/0.5446, allocations: 0.9177 MB / 0.8617 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.614e-05/0.5447, allocations: 68 kB / 0.8617 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.5449, allocations: 116 kB / 0.8618 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.5451, allocations: 312.7 kB / 0.8621 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.5455, allocations: 488.8 kB / 0.8626 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009514/0.5465, allocations: 1.201 MB / 0.8638 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5465, allocations: 3.984 kB / 0.8638 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5465, allocations: 4 kB / 0.8638 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.5465, allocations: 0 / 0.8638 GB, free: 3.945 MB / 0.6231 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.001949/0.5485, allocations: 1.471 MB / 0.8652 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.5485, allocations: 12.03 kB / 0.8652 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.5487, allocations: 139.3 kB / 0.8654 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.5495, allocations: 0.6668 MB / 0.866 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.5496, allocations: 70.69 kB / 0.8661 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.5497, allocations: 51.98 kB / 0.8661 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008414/0.5505, allocations: 0.5184 MB / 0.8666 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.5506, allocations: 0 / 0.8666 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.5506, allocations: 16 kB / 0.8667 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.5506, allocations: 12 kB / 0.8667 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007735/0.5514, allocations: 415.7 kB / 0.8671 GB, free: 476 kB / 0.6231 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.003144/0.5546, allocations: 2.712 MB / 0.8697 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008621/0.5554, allocations: 448 kB / 0.8701 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/0.556, allocations: 310.1 kB / 0.8704 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.5561, allocations: 8.312 kB / 0.8704 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004806/0.5566, allocations: 283.6 kB / 0.8707 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 1.884e-06/0.5566, allocations: 0 / 0.8707 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.002398/0.559, allocations: 1.16 MB / 0.8718 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.559, allocations: 55.41 kB / 0.8719 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.5607, allocations: 1.76 MB / 0.8736 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.5607, allocations: 37.7 kB / 0.8737 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.5611, allocations: 0.5287 MB / 0.8742 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.5612, allocations: 146 kB / 0.8743 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.5614, allocations: 98.25 kB / 0.8744 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5615, allocations: 330 kB / 0.8747 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.5619, allocations: 209 kB / 0.8749 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.5624, allocations: 343.1 kB / 0.8752 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008124/0.5633, allocations: 0.5166 MB / 0.8757 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5633, allocations: 0 / 0.8757 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001358/0.5646, allocations: 0.809 MB / 0.8765 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.5647, allocations: 7.938 kB / 0.8765 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.5647, allocations: 4 kB / 0.8765 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003713/0.565, allocations: 137.5 kB / 0.8767 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.5654, allocations: 104 kB / 0.8768 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.568, allocations: 2.609 MB / 0.8793 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.5684, allocations: 75.55 kB / 0.8794 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.5684, allocations: 20 kB / 0.8794 GB, free: 3.219 MB / 0.6387 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.0003994/0.5688, allocations: 387.3 kB / 0.8798 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.569, allocations: 114.5 kB / 0.8799 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.5692, allocations: 147.7 kB / 0.88 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5692, allocations: 8 kB / 0.88 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.5692, allocations: 4 kB / 0.88 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5692, allocations: 0 / 0.88 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.5713, allocations: 1.49 MB / 0.8815 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5713, allocations: 0 / 0.8815 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.5716, allocations: 43.95 kB / 0.8815 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003595/0.5719, allocations: 161.6 kB / 0.8817 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.572, allocations: 11.98 kB / 0.8817 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/0.5754, allocations: 4.032 MB / 0.8856 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.5754, allocations: 0 / 0.8856 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.5769, allocations: 0.9852 MB / 0.8866 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.5772, allocations: 219.5 kB / 0.8868 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-05/0.5773, allocations: 12 kB / 0.8868 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.5776, allocations: 31.91 kB / 0.8869 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5777, allocations: 55.92 kB / 0.8869 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.5778, allocations: 12 kB / 0.8869 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001211/0.579, allocations: 1.3 MB / 0.8882 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.579, allocations: 0 / 0.8882 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006014/0.5796, allocations: 183.8 kB / 0.8884 GB, free: 9.648 MB / 0.6544 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.001002/0.5806, allocations: 492 kB / 0.8888 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.5819, allocations: 0.6621 MB / 0.8895 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5819, allocations: 0.875 kB / 0.8895 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00073/0.5826, allocations: 0.5248 MB / 0.89 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008608/0.5835, allocations: 206.2 kB / 0.8902 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.5865, allocations: 2.369 MB / 0.8925 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.5872, allocations: 1.149 MB / 0.8936 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000233/0.5874, allocations: 92.78 kB / 0.8937 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.5876, allocations: 51.38 kB / 0.8938 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of SimCode: time 2.81e-07/0.5876, allocations: 0 / 0.8938 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of Templates: time 0.0164/0.604, allocations: 10.04 MB / 0.9036 GB, free: 10.32 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)