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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7919/0.7919, allocations: 143.4 MB / 159.2 MB, free: 4.891 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 184.4 kB / 191.9 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 447.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 111.7 kB / 0.517 GB, free: 3.734 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001936/0.001936, allocations: 284.2 kB / 0.5973 GB, free: 49.42 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 83.84 kB / 0.6885 GB, free: 3.879 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3477, allocations: 81.28 MB / 0.7679 GB, free: 27.71 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.5023/0.8501, allocations: 154.4 MB / 0.9187 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02647/0.8766, allocations: 21.56 MB / 0.9398 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.8798, allocations: 44.5 kB / 0.9398 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.8819, allocations: 1.124 MB / 0.9409 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.884, allocations: 0.8124 MB / 0.9417 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.8855, allocations: 390.5 kB / 0.9421 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.8873, allocations: 1.347 MB / 0.9434 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007855/0.8881, allocations: 0.6171 MB / 0.944 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007127/0.8888, allocations: 0.4883 MB / 0.9445 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009304/0.8898, allocations: 0.9069 MB / 0.9453 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.757e-05/0.8899, allocations: 37.34 kB / 0.9454 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.8901, allocations: 85.17 kB / 0.9455 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.8904, allocations: 312 kB / 0.9458 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.8908, allocations: 467.6 kB / 0.9462 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008818/0.8917, allocations: 1.148 MB / 0.9473 GB, free: 472 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8917, allocations: 0 / 0.9473 GB, free: 472 kB / 0.5573 GB Notification: Performance of FrontEnd: time 8.52e-07/0.8917, allocations: 0 / 0.9473 GB, free: 472 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.8917, allocations: 2.25 kB / 0.9473 GB, free: 472 kB / 0.5573 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.002338/0.8941, allocations: 1.472 MB / 0.9488 GB, free: 15.59 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.8941, allocations: 12.5 kB / 0.9488 GB, free: 15.58 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.8943, allocations: 133.8 kB / 0.9489 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008314/0.8952, allocations: 0.658 MB / 0.9495 GB, free: 15.12 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.8953, allocations: 73.44 kB / 0.9496 GB, free: 15.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-05/0.8954, allocations: 45.72 kB / 0.9497 GB, free: 15.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008801/0.8963, allocations: 0.5207 MB / 0.9502 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.8963, allocations: 0 / 0.9502 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.8963, allocations: 18.5 kB / 0.9502 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.8964, allocations: 13.56 kB / 0.9502 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007469/0.8971, allocations: 411.7 kB / 0.9506 GB, free: 15.02 MB / 0.573 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.003412/0.9005, allocations: 2.736 MB / 0.9533 GB, free: 13.57 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009819/0.9015, allocations: 449.5 kB / 0.9537 GB, free: 13.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.9022, allocations: 314 kB / 0.954 GB, free: 13.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.9022, allocations: 3.594 kB / 0.954 GB, free: 13.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005629/0.9028, allocations: 292.1 kB / 0.9543 GB, free: 13.45 MB / 0.573 GB Notification: Performance of pre-optimization done (n=44): time 2.515e-06/0.9028, allocations: 4 kB / 0.9543 GB, free: 13.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=44): time 0.002763/0.9056, allocations: 1.142 MB / 0.9554 GB, free: 13.11 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.9056, allocations: 57.47 kB / 0.9554 GB, free: 13.04 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.9077, allocations: 1.757 MB / 0.9572 GB, free: 12.89 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/0.9078, allocations: 36.05 kB / 0.9572 GB, free: 12.86 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006738/0.9085, allocations: 0.5267 MB / 0.9577 GB, free: 12.72 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.9086, allocations: 146 kB / 0.9578 GB, free: 12.63 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.9088, allocations: 98.64 kB / 0.9579 GB, free: 12.61 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.909, allocations: 327.9 kB / 0.9583 GB, free: 12.31 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.9095, allocations: 210.3 kB / 0.9585 GB, free: 12.31 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/0.9101, allocations: 344.7 kB / 0.9588 GB, free: 12.18 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.9111, allocations: 0.5184 MB / 0.9593 GB, free: 12.04 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.9111, allocations: 0 / 0.9593 GB, free: 12.04 MB / 0.573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001684/0.9128, allocations: 0.8023 MB / 0.9601 GB, free: 11.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.9128, allocations: 14.78 kB / 0.9601 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.9129, allocations: 5 kB / 0.9601 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004764/0.9133, allocations: 141.6 kB / 0.9602 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.9138, allocations: 98.59 kB / 0.9603 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.917, allocations: 2.391 MB / 0.9627 GB, free: 10.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.9175, allocations: 82.11 kB / 0.9627 GB, free: 10.46 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.9176, allocations: 20.31 kB / 0.9628 GB, free: 10.46 MB / 0.573 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.0005244/0.9181, allocations: 389.6 kB / 0.9631 GB, free: 10.35 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.9182, allocations: 119.2 kB / 0.9632 GB, free: 10.28 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.9184, allocations: 141 kB / 0.9634 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.9184, allocations: 3.375 kB / 0.9634 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.9185, allocations: 8.719 kB / 0.9634 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.9185, allocations: 3.281 kB / 0.9634 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.9208, allocations: 1.481 MB / 0.9648 GB, free: 9.887 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9208, allocations: 0 / 0.9648 GB, free: 9.887 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.9211, allocations: 50.58 kB / 0.9649 GB, free: 9.883 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003864/0.9214, allocations: 160.5 kB / 0.965 GB, free: 9.828 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.9215, allocations: 17.19 kB / 0.9651 GB, free: 9.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/0.9248, allocations: 3.701 MB / 0.9687 GB, free: 6.621 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.9248, allocations: 0 / 0.9687 GB, free: 6.621 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/0.9366, allocations: 9.297 MB / 0.9777 GB, free: 208 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.9369, allocations: 219.2 kB / 0.978 GB, free: 20 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.937, allocations: 17.08 kB / 0.978 GB, free: 8 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.9373, allocations: 31.81 kB / 0.978 GB, free: 4 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.9375, allocations: 48.5 kB / 0.978 GB, free: 0 / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/0.9375, allocations: 24.19 kB / 0.9781 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001279/0.9388, allocations: 1.284 MB / 0.9793 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9388, allocations: 4 kB / 0.9793 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001141/0.94, allocations: 294.1 kB / 0.9796 GB, free: 15.35 MB / 0.5886 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.001018/0.941, allocations: 488.4 kB / 0.9801 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.9423, allocations: 0.671 MB / 0.9807 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9423, allocations: 0 / 0.9807 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007659/0.9431, allocations: 0.5286 MB / 0.9812 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/0.9441, allocations: 194.2 kB / 0.9814 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.9483, allocations: 3.318 MB / 0.9847 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008692/0.9492, allocations: 1.168 MB / 0.9858 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003023/0.9495, allocations: 96.77 kB / 0.9859 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.9496, allocations: 47.42 kB / 0.986 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of SimCode: time 5.62e-07/0.9496, allocations: 0 / 0.986 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of Templates: time 0.01944/0.9691, allocations: 11.22 MB / 0.9969 GB, free: 32 kB / 0.5886 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)