Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001286/0.001286, allocations: 189 kB / 17.3 MB, free: 5.613 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.212/1.212, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002034, allocations: 273.2 kB / 291.4 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 0.8645/0.8645, allocations: 169.2 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 95.19 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1381, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.3615/0.4996, allocations: 156.7 MB / 0.8347 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.5198, allocations: 21.75 MB / 0.8559 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.521, allocations: 55.69 kB / 0.8559 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.5223, allocations: 1.157 MB / 0.8571 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.5234, allocations: 0.8601 MB / 0.8579 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008122/0.5242, allocations: 440.6 kB / 0.8583 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001017/0.5253, allocations: 1.256 MB / 0.8596 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006692/0.526, allocations: 0.6889 MB / 0.8602 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004979/0.5265, allocations: 0.5529 MB / 0.8608 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000864/0.5273, allocations: 0.9138 MB / 0.8617 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.515e-05/0.5274, allocations: 64 kB / 0.8617 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.5276, allocations: 112 kB / 0.8618 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.5279, allocations: 320.7 kB / 0.8621 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.5282, allocations: 488.8 kB / 0.8626 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000904/0.5291, allocations: 1.201 MB / 0.8638 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5291, allocations: 0 / 0.8638 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5291, allocations: 0 / 0.8638 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.5292, allocations: 0 / 0.8638 GB, free: 3.902 MB / 0.6231 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.001927/0.5311, allocations: 1.479 MB / 0.8652 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.766e-05/0.5311, allocations: 8.031 kB / 0.8652 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.5313, allocations: 135.3 kB / 0.8654 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008025/0.5321, allocations: 0.6668 MB / 0.866 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.5322, allocations: 78.69 kB / 0.8661 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.94e-05/0.5323, allocations: 47.98 kB / 0.8661 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008167/0.5331, allocations: 0.5145 MB / 0.8666 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5332, allocations: 4 kB / 0.8666 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.5332, allocations: 16 kB / 0.8667 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5332, allocations: 15.94 kB / 0.8667 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007512/0.534, allocations: 419.7 kB / 0.8671 GB, free: 420 kB / 0.6231 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.003156/0.5371, allocations: 2.78 MB / 0.8698 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008974/0.538, allocations: 463.7 kB / 0.8702 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.5385, allocations: 282.2 kB / 0.8705 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.5386, allocations: 8.312 kB / 0.8705 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005018/0.5391, allocations: 298.8 kB / 0.8708 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=45): time 1.904e-06/0.5391, allocations: 0 / 0.8708 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.00262/0.5417, allocations: 1.248 MB / 0.872 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.5418, allocations: 55.41 kB / 0.8721 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.5434, allocations: 1.744 MB / 0.8738 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.5434, allocations: 45.69 kB / 0.8738 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.5438, allocations: 0.5101 MB / 0.8743 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5439, allocations: 149.9 kB / 0.8745 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.544, allocations: 94.25 kB / 0.8745 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.5441, allocations: 334 kB / 0.8749 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.5446, allocations: 217 kB / 0.8751 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.5451, allocations: 324.8 kB / 0.8754 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008148/0.5459, allocations: 0.5106 MB / 0.8759 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5459, allocations: 0 / 0.8759 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00146/0.5474, allocations: 0.8495 MB / 0.8767 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.5474, allocations: 10.5 kB / 0.8767 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5474, allocations: 0 / 0.8767 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004655/0.5479, allocations: 188.8 kB / 0.8769 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.5482, allocations: 95.81 kB / 0.877 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.5514, allocations: 2.997 MB / 0.8799 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.5518, allocations: 67.5 kB / 0.88 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.5518, allocations: 23.98 kB / 0.88 GB, free: 2.582 MB / 0.6387 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.0003825/0.5522, allocations: 387.4 kB / 0.8804 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.5523, allocations: 122.4 kB / 0.8805 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.5525, allocations: 135.7 kB / 0.8806 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5525, allocations: 4 kB / 0.8806 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5525, allocations: 4 kB / 0.8806 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.5526, allocations: 3.984 kB / 0.8806 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.5548, allocations: 1.556 MB / 0.8821 GB, free: 320 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5549, allocations: 0 / 0.8821 GB, free: 320 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.5551, allocations: 63.84 kB / 0.8822 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004327/0.5555, allocations: 193.4 kB / 0.8824 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.5556, allocations: 15.98 kB / 0.8824 GB, free: 44 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004072/0.5596, allocations: 4.545 MB / 0.8868 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5597, allocations: 7.922 kB / 0.8869 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.5614, allocations: 1.066 MB / 0.8879 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.5617, allocations: 211.6 kB / 0.8881 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.489e-05/0.5617, allocations: 15.98 kB / 0.8881 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.562, allocations: 23.97 kB / 0.8881 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.5622, allocations: 51.92 kB / 0.8882 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.5622, allocations: 16 kB / 0.8882 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001201/0.5634, allocations: 1.284 MB / 0.8895 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5634, allocations: 0 / 0.8895 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006125/0.564, allocations: 207.7 kB / 0.8897 GB, free: 8.301 MB / 0.6544 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.0009774/0.565, allocations: 490.1 kB / 0.8901 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.5663, allocations: 0.7281 MB / 0.8908 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5663, allocations: 0 / 0.8908 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007928/0.5671, allocations: 0.5482 MB / 0.8914 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.568, allocations: 199 kB / 0.8916 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.5709, allocations: 2.37 MB / 0.8939 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.5716, allocations: 1.153 MB / 0.895 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002061/0.5718, allocations: 92.77 kB / 0.8951 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.602e-05/0.5719, allocations: 43.44 kB / 0.8951 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.5719, allocations: 0 / 0.8951 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of Templates: time 0.01677/0.5887, allocations: 10.47 MB / 0.9054 GB, free: 8.469 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)