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.001232/0.001232, allocations: 109.1 kB / 16.41 MB, free: 6.457 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.001187/0.001187, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002503/0.002503, allocations: 290.8 kB / 291.5 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 1.001/1.001, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002691/0.002691, allocations: 103.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4733, allocations: 86.98 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1895/0.6628, allocations: 157.1 MB / 0.9205 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02928/0.6921, allocations: 21.8 MB / 0.9418 GB, free: 300 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.694, allocations: 47.75 kB / 0.9418 GB, free: 252 kB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.6958, allocations: 1.177 MB / 0.943 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.6974, allocations: 0.8602 MB / 0.9438 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.6986, allocations: 444.3 kB / 0.9442 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001584/0.7002, allocations: 1.255 MB / 0.9455 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008026/0.701, allocations: 0.5541 MB / 0.946 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007049/0.7017, allocations: 0.5646 MB / 0.9466 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.7028, allocations: 0.9138 MB / 0.9475 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.7029, allocations: 71.94 kB / 0.9475 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.7031, allocations: 112 kB / 0.9476 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.7035, allocations: 320.7 kB / 0.9479 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004611/0.7039, allocations: 496.8 kB / 0.9484 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.7053, allocations: 1.204 MB / 0.9496 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7053, allocations: 0 / 0.9496 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7053, allocations: 0 / 0.9496 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.7053, allocations: 4 kB / 0.9496 GB, free: 8.285 MB / 0.7169 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.002529/0.7079, allocations: 1.517 MB / 0.9511 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.7079, allocations: 8.031 kB / 0.9511 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.7081, allocations: 140 kB / 0.9512 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009597/0.7091, allocations: 0.6833 MB / 0.9519 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.7092, allocations: 70.69 kB / 0.952 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/0.7093, allocations: 52 kB / 0.952 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/0.7103, allocations: 0.5145 MB / 0.9525 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.7103, allocations: 0 / 0.9525 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.7104, allocations: 16 kB / 0.9525 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.7104, allocations: 15.94 kB / 0.9525 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.7113, allocations: 419.7 kB / 0.9529 GB, free: 4.742 MB / 0.7169 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.004/0.7153, allocations: 2.736 MB / 0.9556 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.7164, allocations: 416.7 kB / 0.956 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/0.7171, allocations: 285.3 kB / 0.9563 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.7171, allocations: 4.328 kB / 0.9563 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005616/0.7177, allocations: 271.8 kB / 0.9565 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 2.405e-06/0.7177, allocations: 0 / 0.9565 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.3233/1.041, allocations: 1.158 MB / 0.9577 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/1.041, allocations: 57.64 kB / 0.9577 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/1.043, allocations: 1.762 MB / 0.9594 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/1.044, allocations: 36.84 kB / 0.9595 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/1.044, allocations: 0.5269 MB / 0.96 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/1.044, allocations: 157.9 kB / 0.9601 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/1.044, allocations: 96.45 kB / 0.9602 GB, free: 191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.062e-05/1.044, allocations: 329.6 kB / 0.9606 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/1.045, allocations: 211 kB / 0.9608 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/1.045, allocations: 342.3 kB / 0.9611 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008335/1.046, allocations: 0.5089 MB / 0.9616 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.046, allocations: 1.062 kB / 0.9616 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001496/1.047, allocations: 0.8167 MB / 0.9624 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.047, allocations: 10.16 kB / 0.9624 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.047, allocations: 6.875 kB / 0.9624 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/1.048, allocations: 132.4 kB / 0.9625 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/1.048, allocations: 101 kB / 0.9626 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/1.051, allocations: 2.608 MB / 0.9652 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/1.051, allocations: 79.42 kB / 0.9652 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/1.051, allocations: 21.31 kB / 0.9653 GB, free: 187.7 MB / 0.7169 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.0004039/1.051, allocations: 387.1 kB / 0.9656 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/1.052, allocations: 119.9 kB / 0.9657 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/1.052, allocations: 140.3 kB / 0.9659 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.052, allocations: 8.062 kB / 0.9659 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.052, allocations: 3.688 kB / 0.9659 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.052, allocations: 5.266 kB / 0.9659 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/1.054, allocations: 1.475 MB / 0.9673 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.054, allocations: 4.547 kB / 0.9673 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/1.054, allocations: 44.28 kB / 0.9674 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003604/1.055, allocations: 171.7 kB / 0.9675 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/1.055, allocations: 11.03 kB / 0.9676 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/1.057, allocations: 4.037 MB / 0.9715 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.057, allocations: 2.062 kB / 0.9715 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/1.059, allocations: 0.984 MB / 0.9725 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/1.059, allocations: 217.3 kB / 0.9727 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/1.059, allocations: 13.62 kB / 0.9727 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/1.059, allocations: 30.91 kB / 0.9727 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/1.059, allocations: 54.95 kB / 0.9728 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/1.059, allocations: 12.66 kB / 0.9728 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001076/1.061, allocations: 1.294 MB / 0.974 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.061, allocations: 0 / 0.974 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006189/1.061, allocations: 199.8 kB / 0.9742 GB, free: 181.4 MB / 0.7169 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.00161/1.063, allocations: 480.1 kB / 0.9747 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001129/1.064, allocations: 0.6412 MB / 0.9753 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.064, allocations: 0.875 kB / 0.9753 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000624/1.065, allocations: 0.5144 MB / 0.9758 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008694/1.065, allocations: 210 kB / 0.976 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/1.068, allocations: 2.395 MB / 0.9784 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/1.068, allocations: 1.153 MB / 0.9795 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002241/1.069, allocations: 99.77 kB / 0.9796 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/1.069, allocations: 47.44 kB / 0.9796 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/1.069, allocations: 0 / 0.9796 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.01504/1.084, allocations: 10.23 MB / 0.9896 GB, free: 166.3 MB / 0.7169 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)