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.0009897/0.0009896, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001068/0.001068, allocations: 194.3 kB / 17.3 MB, free: 5.52 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.236/1.236, 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.002015/0.002015, allocations: 283.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8799/0.8799, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 94.5 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1469, allocations: 86.97 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4141/0.5611, allocations: 156.7 MB / 0.8347 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02374/0.5849, allocations: 21.74 MB / 0.8559 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.5865, allocations: 51.75 kB / 0.8559 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.588, allocations: 1.169 MB / 0.8571 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.5892, allocations: 0.8484 MB / 0.8579 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.5902, allocations: 443.3 kB / 0.8583 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.5914, allocations: 1.26 MB / 0.8596 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007045/0.5921, allocations: 0.6733 MB / 0.8602 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.5927, allocations: 0.5607 MB / 0.8608 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008947/0.5936, allocations: 0.9138 MB / 0.8617 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.198e-05/0.5937, allocations: 68 kB / 0.8617 GB, free: 6 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.5939, allocations: 112 kB / 0.8618 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.5941, allocations: 312.7 kB / 0.8621 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.5945, allocations: 492.8 kB / 0.8626 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009519/0.5955, allocations: 1.201 MB / 0.8638 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5955, allocations: 3.984 kB / 0.8638 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5955, allocations: 0 / 0.8638 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.5955, allocations: 0 / 0.8638 GB, free: 3.895 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.002002/0.5975, allocations: 1.479 MB / 0.8652 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5976, allocations: 8.031 kB / 0.8652 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.5977, allocations: 131.3 kB / 0.8653 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000814/0.5986, allocations: 0.6667 MB / 0.866 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.5987, allocations: 74.69 kB / 0.8661 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.5988, allocations: 51.98 kB / 0.8661 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008361/0.5996, allocations: 0.5184 MB / 0.8666 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.5996, allocations: 3.984 kB / 0.8666 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/0.5997, allocations: 16 kB / 0.8666 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.5997, allocations: 12 kB / 0.8667 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007541/0.6005, allocations: 415.7 kB / 0.8671 GB, free: 420 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.003206/0.6037, allocations: 2.72 MB / 0.8697 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008428/0.6045, allocations: 439.6 kB / 0.8701 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.6051, allocations: 310.1 kB / 0.8704 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.921e-05/0.6052, allocations: 8.312 kB / 0.8704 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004789/0.6056, allocations: 288 kB / 0.8707 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.6057, allocations: 0 / 0.8707 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.002422/0.6081, allocations: 1.152 MB / 0.8718 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.6081, allocations: 59.41 kB / 0.8719 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.6098, allocations: 1.756 MB / 0.8736 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.6099, allocations: 37.7 kB / 0.8736 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.6103, allocations: 0.5288 MB / 0.8742 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.6104, allocations: 141.9 kB / 0.8743 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.6105, allocations: 102.2 kB / 0.8744 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.6106, allocations: 326 kB / 0.8747 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.6111, allocations: 213 kB / 0.8749 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.6116, allocations: 339.2 kB / 0.8752 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/0.6125, allocations: 0.5171 MB / 0.8757 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6125, allocations: 4 kB / 0.8757 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00141/0.6139, allocations: 0.805 MB / 0.8765 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.614, allocations: 7.938 kB / 0.8765 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.614, allocations: 8.156 kB / 0.8765 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003875/0.6144, allocations: 132.7 kB / 0.8767 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.6147, allocations: 107.8 kB / 0.8768 GB, free: 6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.6175, allocations: 2.598 MB / 0.8793 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/0.618, allocations: 87.36 kB / 0.8794 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.618, allocations: 28.05 kB / 0.8794 GB, free: 3.156 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.0004685/0.6185, allocations: 379.4 kB / 0.8798 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.6186, allocations: 118.5 kB / 0.8799 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.6188, allocations: 143.7 kB / 0.88 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.6188, allocations: 4 kB / 0.88 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.6189, allocations: 4 kB / 0.88 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.6189, allocations: 0 / 0.88 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.621, allocations: 1.49 MB / 0.8815 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.621, allocations: 8 kB / 0.8815 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.6212, allocations: 51.89 kB / 0.8815 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000361/0.6216, allocations: 160.2 kB / 0.8817 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.6216, allocations: 11.98 kB / 0.8817 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003364/0.625, allocations: 4.031 MB / 0.8856 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.625, allocations: 0 / 0.8856 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.6266, allocations: 0.989 MB / 0.8866 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.6269, allocations: 219.5 kB / 0.8868 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.627, allocations: 8 kB / 0.8868 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.6273, allocations: 31.97 kB / 0.8869 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.6274, allocations: 51.92 kB / 0.8869 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.6275, allocations: 16 kB / 0.8869 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001255/0.6288, allocations: 1.293 MB / 0.8882 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6288, allocations: 0 / 0.8882 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006893/0.6295, allocations: 191.8 kB / 0.8884 GB, free: 9.59 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.001076/0.6305, allocations: 489.8 kB / 0.8888 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.6318, allocations: 0.6608 MB / 0.8895 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6318, allocations: 0 / 0.8895 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007283/0.6326, allocations: 0.5213 MB / 0.89 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008719/0.6334, allocations: 205.7 kB / 0.8902 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.6367, allocations: 2.365 MB / 0.8925 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.6374, allocations: 1.149 MB / 0.8936 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002624/0.6377, allocations: 96.77 kB / 0.8937 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.6378, allocations: 43.44 kB / 0.8938 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.6378, allocations: 0 / 0.8938 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of Templates: time 0.01821/0.656, allocations: 10.03 MB / 0.9036 GB, free: 10.27 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)