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.005175/0.005176, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001349/0.001349, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 279 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9339/0.9339, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 87.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1394, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4582/0.5976, allocations: 156.7 MB / 0.9194 GB, free: 6.074 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.6206, allocations: 21.76 MB / 0.9407 GB, free: 252 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.6224, allocations: 55.75 kB / 0.9407 GB, free: 196 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.6241, allocations: 1.165 MB / 0.9418 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.6254, allocations: 0.8484 MB / 0.9427 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009624/0.6263, allocations: 440.7 kB / 0.9431 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.6275, allocations: 1.268 MB / 0.9443 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007272/0.6282, allocations: 0.683 MB / 0.945 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000584/0.6288, allocations: 0.5569 MB / 0.9455 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009274/0.6297, allocations: 0.9099 MB / 0.9464 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.6298, allocations: 64 kB / 0.9465 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.6301, allocations: 115.9 kB / 0.9466 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.6303, allocations: 316.8 kB / 0.9469 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.6307, allocations: 488.8 kB / 0.9474 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.6317, allocations: 1.209 MB / 0.9486 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6317, allocations: 0 / 0.9486 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6317, allocations: 0 / 0.9486 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.6317, allocations: 0 / 0.9486 GB, free: 8.168 MB / 0.7012 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.002316/0.634, allocations: 1.471 MB / 0.95 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.6341, allocations: 12.03 kB / 0.95 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.6342, allocations: 143.2 kB / 0.9501 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007655/0.635, allocations: 0.663 MB / 0.9508 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.6352, allocations: 70.69 kB / 0.9509 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/0.6352, allocations: 48 kB / 0.9509 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000909/0.6362, allocations: 0.5223 MB / 0.9514 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.6362, allocations: 3.906 kB / 0.9514 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.6362, allocations: 16 kB / 0.9514 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.6363, allocations: 12 kB / 0.9514 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/0.637, allocations: 419.6 kB / 0.9518 GB, free: 4.676 MB / 0.7012 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.003048/0.6401, allocations: 2.708 MB / 0.9545 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008743/0.641, allocations: 444.3 kB / 0.9549 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006367/0.6416, allocations: 316.3 kB / 0.9552 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.6417, allocations: 4.328 kB / 0.9552 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005386/0.6422, allocations: 284.1 kB / 0.9555 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=44): time 2.063e-06/0.6422, allocations: 0 / 0.9555 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of matching and sorting (n=44): time 0.002618/0.6449, allocations: 1.148 MB / 0.9566 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.6449, allocations: 59.34 kB / 0.9567 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.6466, allocations: 1.768 MB / 0.9584 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.6467, allocations: 37.7 kB / 0.9584 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.6471, allocations: 0.5288 MB / 0.9589 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.6472, allocations: 138.1 kB / 0.9591 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.6473, allocations: 102.1 kB / 0.9592 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6475, allocations: 326 kB / 0.9595 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.648, allocations: 217 kB / 0.9597 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.6485, allocations: 339.8 kB / 0.96 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008727/0.6494, allocations: 0.5092 MB / 0.9605 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6494, allocations: 4 kB / 0.9605 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001467/0.6509, allocations: 0.8127 MB / 0.9613 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.6509, allocations: 13.81 kB / 0.9613 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6509, allocations: 4.219 kB / 0.9613 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003926/0.6513, allocations: 137.8 kB / 0.9615 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.6517, allocations: 99.81 kB / 0.9616 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.6544, allocations: 2.607 MB / 0.9641 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.6548, allocations: 71.41 kB / 0.9642 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.6549, allocations: 24.06 kB / 0.9642 GB, free: 7.438 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.0004268/0.6553, allocations: 391.2 kB / 0.9646 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.6555, allocations: 114.5 kB / 0.9647 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.6557, allocations: 143.7 kB / 0.9648 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.6557, allocations: 4 kB / 0.9648 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.6557, allocations: 4 kB / 0.9648 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.6557, allocations: 0 / 0.9648 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.6578, allocations: 1.498 MB / 0.9663 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6579, allocations: 0 / 0.9663 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.6581, allocations: 43.91 kB / 0.9663 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003687/0.6585, allocations: 164.1 kB / 0.9665 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.6585, allocations: 12 kB / 0.9665 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/0.662, allocations: 4.025 MB / 0.9704 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.662, allocations: 0 / 0.9704 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.6636, allocations: 1.001 MB / 0.9714 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.6638, allocations: 219.5 kB / 0.9716 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/0.6639, allocations: 8 kB / 0.9716 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.6642, allocations: 27.97 kB / 0.9716 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.6644, allocations: 51.92 kB / 0.9717 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.6644, allocations: 19.98 kB / 0.9717 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001247/0.6656, allocations: 1.293 MB / 0.973 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6657, allocations: 0 / 0.973 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006525/0.6663, allocations: 191.8 kB / 0.9732 GB, free: 13.86 MB / 0.7325 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.001049/0.6674, allocations: 483.4 kB / 0.9736 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.6687, allocations: 0.6567 MB / 0.9743 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.6687, allocations: 0 / 0.9743 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007953/0.6695, allocations: 0.533 MB / 0.9748 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009361/0.6705, allocations: 207.5 kB / 0.975 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.6737, allocations: 2.355 MB / 0.9773 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007198/0.6745, allocations: 1.153 MB / 0.9784 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002481/0.6747, allocations: 88.78 kB / 0.9785 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.6749, allocations: 47.42 kB / 0.9785 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.6749, allocations: 0 / 0.9785 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of Templates: time 0.01783/0.6927, allocations: 10.17 MB / 0.9885 GB, free: 14.41 MB / 0.7481 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)