Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001353/0.001353, allocations: 196.8 kB / 16.14 MB, free: 6.715 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.506/1.506, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002481/0.002481, allocations: 282.4 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.082/1.082, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004453/0.004454, allocations: 96.31 kB / 0.6057 GB, free: 25.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.17, allocations: 89.15 MB / 0.6928 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4755/0.6455, allocations: 154.4 MB / 0.8436 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02833/0.6739, allocations: 21.61 MB / 0.8647 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/0.6768, allocations: 50.06 kB / 0.8648 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.6787, allocations: 1.124 MB / 0.8659 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.6805, allocations: 0.8116 MB / 0.8667 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.682, allocations: 385.8 kB / 0.867 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001873/0.6838, allocations: 1.347 MB / 0.8683 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.6849, allocations: 0.6161 MB / 0.8689 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009249/0.6859, allocations: 0.495 MB / 0.8694 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.687, allocations: 0.9128 MB / 0.8703 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.6871, allocations: 35.16 kB / 0.8703 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.6874, allocations: 82.41 kB / 0.8704 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.6877, allocations: 304.5 kB / 0.8707 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005011/0.6882, allocations: 468.6 kB / 0.8712 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.6894, allocations: 1.154 MB / 0.8723 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6895, allocations: 0 / 0.8723 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6895, allocations: 0 / 0.8723 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.242e-05/0.6895, allocations: 0 / 0.8723 GB, free: 2.508 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.002846/0.6924, allocations: 1.483 MB / 0.8737 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.6924, allocations: 10.44 kB / 0.8737 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.6927, allocations: 134 kB / 0.8739 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009714/0.6937, allocations: 0.6499 MB / 0.8745 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.6938, allocations: 67.88 kB / 0.8746 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.628e-05/0.6939, allocations: 48.5 kB / 0.8746 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.6949, allocations: 0.5198 MB / 0.8751 GB, free: 352 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.695, allocations: 2.469 kB / 0.8751 GB, free: 352 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/0.695, allocations: 18.77 kB / 0.8751 GB, free: 336 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.6951, allocations: 10.16 kB / 0.8752 GB, free: 336 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009392/0.696, allocations: 417.2 kB / 0.8756 GB, free: 128 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.004459/0.7005, allocations: 2.81 MB / 0.8783 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.7017, allocations: 457.1 kB / 0.8787 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006297/0.7023, allocations: 291.3 kB / 0.879 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.7024, allocations: 4.656 kB / 0.879 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006489/0.703, allocations: 301.8 kB / 0.8793 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.806e-06/0.703, allocations: 0 / 0.8793 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.003371/0.7064, allocations: 1.242 MB / 0.8805 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.7065, allocations: 59.41 kB / 0.8806 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/0.7088, allocations: 1.755 MB / 0.8823 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.7089, allocations: 37.7 kB / 0.8823 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.7094, allocations: 0.518 MB / 0.8828 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.7096, allocations: 149.9 kB / 0.883 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.7098, allocations: 102.2 kB / 0.8831 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7099, allocations: 322 kB / 0.8834 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/0.7105, allocations: 221 kB / 0.8836 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/0.7111, allocations: 328.8 kB / 0.8839 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/0.7121, allocations: 0.5097 MB / 0.8844 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7121, allocations: 0 / 0.8844 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001943/0.714, allocations: 0.8544 MB / 0.8852 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.7141, allocations: 6.188 kB / 0.8852 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.7141, allocations: 12.06 kB / 0.8853 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006034/0.7147, allocations: 180.7 kB / 0.8854 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.7151, allocations: 99.8 kB / 0.8855 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003918/0.719, allocations: 2.736 MB / 0.8882 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/0.7196, allocations: 83.55 kB / 0.8883 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.7196, allocations: 20.44 kB / 0.8883 GB, free: 3.07 MB / 0.6075 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.0006042/0.7202, allocations: 379.3 kB / 0.8887 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.7204, allocations: 118.5 kB / 0.8888 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.7208, allocations: 147.6 kB / 0.8889 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7208, allocations: 7.938 kB / 0.8889 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.7208, allocations: 8 kB / 0.8889 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7208, allocations: 0 / 0.8889 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.7238, allocations: 1.565 MB / 0.8905 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7239, allocations: 0 / 0.8905 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.7241, allocations: 43.97 kB / 0.8905 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005527/0.7247, allocations: 198.1 kB / 0.8907 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.7247, allocations: 8 kB / 0.8907 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/0.7297, allocations: 4.131 MB / 0.8947 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7298, allocations: 0 / 0.8947 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.7318, allocations: 1.061 MB / 0.8958 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.7323, allocations: 215.6 kB / 0.896 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.7324, allocations: 8 kB / 0.896 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.7328, allocations: 35.97 kB / 0.896 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.733, allocations: 59.91 kB / 0.8961 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.7331, allocations: 15.94 kB / 0.8961 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001739/0.7348, allocations: 1.281 MB / 0.8973 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7348, allocations: 0 / 0.8973 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009132/0.7357, allocations: 215.6 kB / 0.8975 GB, free: 9.207 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,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.001804/0.7375, allocations: 488.6 kB / 0.898 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.7392, allocations: 0.7152 MB / 0.8987 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7392, allocations: 4.25 kB / 0.8987 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009895/0.7402, allocations: 0.5551 MB / 0.8992 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.7414, allocations: 187.9 kB / 0.8994 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.7458, allocations: 2.694 MB / 0.9021 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009374/0.7468, allocations: 1.153 MB / 0.9032 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000324/0.7471, allocations: 88.78 kB / 0.9033 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.7473, allocations: 47.44 kB / 0.9033 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of SimCode: time 2.384e-06/0.7473, allocations: 0 / 0.9033 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of Templates: time 0.02059/0.7679, allocations: 9.855 MB / 0.9129 GB, free: 9.66 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)