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.004989/0.004989, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001131/0.001131, allocations: 196.7 kB / 16.67 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.32/1.32, allocations: 222.9 MB / 240.4 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.002074/0.002074, allocations: 289.2 kB / 290.8 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9236/0.9236, allocations: 169.2 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 99.84 kB / 0.6814 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.433, allocations: 86.97 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1649/0.598, allocations: 156.7 MB / 0.9194 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02607/0.6241, allocations: 21.76 MB / 0.9407 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.6263, allocations: 55.69 kB / 0.9407 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.6279, allocations: 1.161 MB / 0.9419 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.6295, allocations: 0.8523 MB / 0.9427 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.6307, allocations: 445.6 kB / 0.9431 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.6321, allocations: 1.259 MB / 0.9443 GB, free: 13 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007879/0.6329, allocations: 0.6792 MB / 0.945 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000643/0.6335, allocations: 0.5569 MB / 0.9455 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009649/0.6345, allocations: 0.9177 MB / 0.9464 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.6346, allocations: 68 kB / 0.9465 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.6349, allocations: 108 kB / 0.9466 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.6351, allocations: 320.7 kB / 0.9469 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.6355, allocations: 488.8 kB / 0.9474 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.6367, allocations: 1.201 MB / 0.9486 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6367, allocations: 0 / 0.9486 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6367, allocations: 0 / 0.9486 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.6367, allocations: 0 / 0.9486 GB, free: 8.672 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.00214/0.6388, allocations: 1.482 MB / 0.95 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6389, allocations: 12.03 kB / 0.95 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.6391, allocations: 131.2 kB / 0.9501 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008232/0.6399, allocations: 0.6706 MB / 0.9508 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.6401, allocations: 74.69 kB / 0.9509 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-05/0.6401, allocations: 44 kB / 0.9509 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000923/0.6411, allocations: 0.5145 MB / 0.9514 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.6411, allocations: 0 / 0.9514 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.6412, allocations: 20 kB / 0.9514 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.6412, allocations: 12 kB / 0.9514 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000789/0.642, allocations: 419.7 kB / 0.9518 GB, free: 5.184 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.00325/0.6452, allocations: 2.72 MB / 0.9545 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/0.6462, allocations: 445 kB / 0.9549 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006458/0.6468, allocations: 307.7 kB / 0.9552 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.6469, allocations: 4.328 kB / 0.9552 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000545/0.6474, allocations: 279.8 kB / 0.9555 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 2.073e-06/0.6474, allocations: 4 kB / 0.9555 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.3748/1.022, allocations: 1.147 MB / 0.9566 GB, free: 192 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/1.022, allocations: 57.97 kB / 0.9567 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/1.025, allocations: 1.762 MB / 0.9584 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.127e-05/1.025, allocations: 38.28 kB / 0.9584 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/1.025, allocations: 0.5265 MB / 0.9589 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/1.026, allocations: 146.5 kB / 0.9591 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/1.026, allocations: 99.42 kB / 0.9592 GB, free: 191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.111e-05/1.026, allocations: 327.4 kB / 0.9595 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/1.026, allocations: 211.3 kB / 0.9597 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/1.027, allocations: 340.6 kB / 0.96 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008243/1.028, allocations: 0.513 MB / 0.9605 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/1.028, allocations: 4.688 kB / 0.9605 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001462/1.029, allocations: 0.8183 MB / 0.9613 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.029, allocations: 7.641 kB / 0.9613 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.029, allocations: 4.219 kB / 0.9613 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/1.03, allocations: 135.4 kB / 0.9615 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/1.03, allocations: 100.3 kB / 0.9615 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/1.032, allocations: 2.603 MB / 0.9641 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/1.033, allocations: 75.69 kB / 0.9642 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/1.033, allocations: 25.39 kB / 0.9642 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.0004099/1.033, allocations: 385.5 kB / 0.9646 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.033, allocations: 119.8 kB / 0.9647 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/1.033, allocations: 140.6 kB / 0.9648 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/1.033, allocations: 7.281 kB / 0.9648 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.033, allocations: 2.75 kB / 0.9648 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/1.034, allocations: 2.156 kB / 0.9648 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/1.036, allocations: 1.484 MB / 0.9663 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.036, allocations: 1.859 kB / 0.9663 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/1.036, allocations: 49.27 kB / 0.9663 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/1.036, allocations: 164.5 kB / 0.9665 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/1.036, allocations: 10.91 kB / 0.9665 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/1.039, allocations: 4.031 MB / 0.9704 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.039, allocations: 3.938 kB / 0.9704 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/1.04, allocations: 0.9811 MB / 0.9714 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/1.041, allocations: 212.7 kB / 0.9716 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/1.041, allocations: 13.39 kB / 0.9716 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/1.041, allocations: 32.38 kB / 0.9716 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.041, allocations: 58.47 kB / 0.9717 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/1.041, allocations: 17.55 kB / 0.9717 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001071/1.042, allocations: 1.284 MB / 0.9729 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.11e-07/1.042, allocations: 0 / 0.9729 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006132/1.043, allocations: 203.2 kB / 0.9731 GB, free: 181.6 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.0009826/1.044, allocations: 474.9 kB / 0.9736 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00114/1.045, allocations: 0.6757 MB / 0.9743 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.045, allocations: 4.125 kB / 0.9743 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006261/1.046, allocations: 0.5181 MB / 0.9748 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/1.047, allocations: 200.5 kB / 0.975 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/1.049, allocations: 2.354 MB / 0.9773 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/1.05, allocations: 1.155 MB / 0.9784 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002206/1.05, allocations: 92.73 kB / 0.9785 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/1.05, allocations: 47.42 kB / 0.9785 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/1.05, allocations: 0 / 0.9785 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.01411/1.064, allocations: 10.16 MB / 0.9884 GB, free: 166.6 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)