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.00132/0.00132, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001248/0.001248, allocations: 190 kB / 16.25 MB, free: 6.152 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00268/0.00268, allocations: 274.9 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 178.6 MB / 0.5069 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 104.7 kB / 0.6059 GB, free: 25.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1554, allocations: 89.15 MB / 0.693 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4432/0.5987, allocations: 154.6 MB / 0.8439 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02556/0.6242, allocations: 21.49 MB / 0.8649 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.6262, allocations: 44.34 kB / 0.865 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.6278, allocations: 1.14 MB / 0.8661 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.6291, allocations: 0.8176 MB / 0.8669 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.6301, allocations: 387.7 kB / 0.8672 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.6313, allocations: 1.255 MB / 0.8685 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007613/0.632, allocations: 0.6818 MB / 0.8691 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005741/0.6326, allocations: 0.5614 MB / 0.8697 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009156/0.6335, allocations: 0.9533 MB / 0.8706 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.377e-05/0.6336, allocations: 68.94 kB / 0.8707 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.6339, allocations: 109.1 kB / 0.8708 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.6341, allocations: 331.9 kB / 0.8711 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004266/0.6346, allocations: 495.6 kB / 0.8716 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.6357, allocations: 1.179 MB / 0.8727 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6357, allocations: 0 / 0.8727 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6357, allocations: 0 / 0.8727 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.6358, allocations: 0 / 0.8727 GB, free: 2.574 MB / 0.5919 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.002267/0.638, allocations: 1.491 MB / 0.8742 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.6381, allocations: 10.09 kB / 0.8742 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.6382, allocations: 133.8 kB / 0.8743 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008132/0.6391, allocations: 0.6521 MB / 0.8749 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.6392, allocations: 71.52 kB / 0.875 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/0.6393, allocations: 48.72 kB / 0.8751 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009275/0.6402, allocations: 0.5186 MB / 0.8756 GB, free: 408 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.6403, allocations: 3.938 kB / 0.8756 GB, free: 404 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.6403, allocations: 20.81 kB / 0.8756 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.6403, allocations: 10.12 kB / 0.8756 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008066/0.6411, allocations: 410.5 kB / 0.876 GB, free: 184 kB / 0.5919 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.003994/0.6452, allocations: 2.742 MB / 0.8787 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.6462, allocations: 448.7 kB / 0.8791 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/0.6469, allocations: 305.9 kB / 0.8794 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.603e-05/0.647, allocations: 4.656 kB / 0.8794 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000617/0.6476, allocations: 283.1 kB / 0.8797 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 2.314e-06/0.6476, allocations: 192 / 0.8797 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.002757/0.6504, allocations: 1.147 MB / 0.8808 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.6504, allocations: 63.39 kB / 0.8808 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.6524, allocations: 1.764 MB / 0.8826 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.6525, allocations: 37.7 kB / 0.8826 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.653, allocations: 0.525 MB / 0.8831 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.6531, allocations: 142 kB / 0.8833 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.6533, allocations: 98.25 kB / 0.8833 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.6534, allocations: 326 kB / 0.8837 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.6539, allocations: 217 kB / 0.8839 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.6545, allocations: 335.1 kB / 0.8842 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009591/0.6555, allocations: 0.516 MB / 0.8847 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6555, allocations: 0 / 0.8847 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001585/0.6571, allocations: 0.8107 MB / 0.8855 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.6571, allocations: 13.34 kB / 0.8855 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.6572, allocations: 0 / 0.8855 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/0.6576, allocations: 148.9 kB / 0.8856 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.658, allocations: 91.88 kB / 0.8857 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/0.6611, allocations: 2.619 MB / 0.8883 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.6616, allocations: 79.48 kB / 0.8884 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.6616, allocations: 20 kB / 0.8884 GB, free: 3.109 MB / 0.6075 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.0004869/0.6621, allocations: 392.7 kB / 0.8888 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.6623, allocations: 114.5 kB / 0.8889 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.6625, allocations: 147.6 kB / 0.889 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6625, allocations: 11.98 kB / 0.889 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.6625, allocations: 0 / 0.889 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6626, allocations: 0 / 0.889 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.665, allocations: 1.493 MB / 0.8905 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.665, allocations: 4 kB / 0.8905 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.6653, allocations: 43.97 kB / 0.8905 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004059/0.6657, allocations: 169.5 kB / 0.8907 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.6657, allocations: 12 kB / 0.8907 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004098/0.6698, allocations: 4.027 MB / 0.8946 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6698, allocations: 0 / 0.8946 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.6716, allocations: 0.9868 MB / 0.8956 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/0.6719, allocations: 219.5 kB / 0.8958 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.672, allocations: 12 kB / 0.8958 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.6723, allocations: 31.95 kB / 0.8958 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.6725, allocations: 51.88 kB / 0.8959 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.6725, allocations: 23.98 kB / 0.8959 GB, free: 11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001481/0.674, allocations: 1.289 MB / 0.8972 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.674, allocations: 0 / 0.8972 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007071/0.6747, allocations: 207.7 kB / 0.8974 GB, free: 9.504 MB / 0.6231 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.001754/0.6765, allocations: 476.3 kB / 0.8978 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.678, allocations: 0.7014 MB / 0.8985 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.678, allocations: 0 / 0.8985 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008453/0.6789, allocations: 0.5252 MB / 0.899 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6799, allocations: 202.2 kB / 0.8992 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.6837, allocations: 2.693 MB / 0.9018 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008575/0.6846, allocations: 1.146 MB / 0.903 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000278/0.6849, allocations: 92.77 kB / 0.903 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.685, allocations: 47.42 kB / 0.9031 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.685, allocations: 0 / 0.9031 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of Templates: time 0.01929/0.7043, allocations: 9.789 MB / 0.9127 GB, free: 10.07 MB / 0.6387 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)