Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 103.2 kB / 15.98 MB, free: 6.344 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.001188/0.001188, allocations: 201.3 kB / 16.91 MB, free: 6.188 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.242/1.242, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 292.9 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8694/0.8694, allocations: 169.2 MB / 0.4985 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001677, allocations: 93.94 kB / 0.5953 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1619, allocations: 86.98 MB / 0.6803 GB, free: 8.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4312/0.5932, allocations: 154.6 MB / 0.8312 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02204/0.6153, allocations: 21.49 MB / 0.8522 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.6169, allocations: 43.75 kB / 0.8523 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.6184, allocations: 1.134 MB / 0.8534 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.6196, allocations: 0.8177 MB / 0.8542 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009609/0.6206, allocations: 393.8 kB / 0.8545 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.6216, allocations: 1.256 MB / 0.8558 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007012/0.6224, allocations: 0.6805 MB / 0.8564 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005227/0.6229, allocations: 0.553 MB / 0.857 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008407/0.6237, allocations: 0.9566 MB / 0.8579 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.006e-05/0.6238, allocations: 64 kB / 0.858 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.624, allocations: 108 kB / 0.8581 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.6243, allocations: 336.7 kB / 0.8584 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.6246, allocations: 496.8 kB / 0.8589 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007565/0.6254, allocations: 0.9355 MB / 0.8598 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6254, allocations: 0 / 0.8598 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6254, allocations: 0 / 0.8598 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.6254, allocations: 0 / 0.8598 GB, free: 7.645 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.001908/0.6273, allocations: 1.475 MB / 0.8612 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.6274, allocations: 8.031 kB / 0.8612 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.6275, allocations: 135.3 kB / 0.8614 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.6282, allocations: 0.659 MB / 0.862 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.6284, allocations: 74.69 kB / 0.8621 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/0.6284, allocations: 48 kB / 0.8621 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.6293, allocations: 0.5145 MB / 0.8626 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.6293, allocations: 7.938 kB / 0.8626 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/0.6294, allocations: 19.98 kB / 0.8626 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.6294, allocations: 8 kB / 0.8626 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/0.6302, allocations: 415.7 kB / 0.863 GB, free: 4.176 MB / 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.00305/0.6332, allocations: 2.796 MB / 0.8658 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008927/0.6341, allocations: 460.9 kB / 0.8662 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.6346, allocations: 293.3 kB / 0.8665 GB, free: 392 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.6347, allocations: 4.656 kB / 0.8665 GB, free: 388 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005126/0.6352, allocations: 310 kB / 0.8668 GB, free: 68 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.914e-06/0.6352, allocations: 0 / 0.8668 GB, free: 68 kB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002627/0.6378, allocations: 1.237 MB / 0.868 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.6379, allocations: 59.41 kB / 0.8681 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.6394, allocations: 1.744 MB / 0.8698 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.6395, allocations: 37.7 kB / 0.8698 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.6398, allocations: 0.5257 MB / 0.8703 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.6399, allocations: 149.8 kB / 0.8705 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.6401, allocations: 98.23 kB / 0.8705 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.6402, allocations: 322 kB / 0.8709 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.6406, allocations: 221 kB / 0.8711 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.6411, allocations: 320.9 kB / 0.8714 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.6419, allocations: 0.5152 MB / 0.8719 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6419, allocations: 4 kB / 0.8719 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001446/0.6434, allocations: 0.8378 MB / 0.8727 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.6434, allocations: 7.984 kB / 0.8727 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6434, allocations: 4 kB / 0.8727 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004675/0.6439, allocations: 191.2 kB / 0.8729 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.6442, allocations: 95.88 kB / 0.873 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.6473, allocations: 2.996 MB / 0.8759 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.6478, allocations: 83.53 kB / 0.876 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.6478, allocations: 20 kB / 0.876 GB, free: 6.312 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.0004461/0.6483, allocations: 387.3 kB / 0.8764 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.6484, allocations: 118.4 kB / 0.8765 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.6486, allocations: 143.7 kB / 0.8766 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.6486, allocations: 8 kB / 0.8766 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.6486, allocations: 3.938 kB / 0.8766 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.6486, allocations: 7.984 kB / 0.8766 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.6508, allocations: 1.551 MB / 0.8782 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.6508, allocations: 0 / 0.8782 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.651, allocations: 43.91 kB / 0.8782 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004478/0.6515, allocations: 204.5 kB / 0.8784 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.6515, allocations: 15.92 kB / 0.8784 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/0.6554, allocations: 4.56 MB / 0.8829 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6554, allocations: 3.938 kB / 0.8829 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.6571, allocations: 1.061 MB / 0.8839 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.6573, allocations: 211.6 kB / 0.8841 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/0.6574, allocations: 11.98 kB / 0.8841 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.6577, allocations: 35.88 kB / 0.8842 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.6578, allocations: 51.92 kB / 0.8842 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.6579, allocations: 19.98 kB / 0.8842 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001169/0.6591, allocations: 1.284 MB / 0.8855 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6591, allocations: 0 / 0.8855 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007303/0.6598, allocations: 203.7 kB / 0.8857 GB, free: 12.02 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.001023/0.6608, allocations: 484.4 kB / 0.8861 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.6623, allocations: 0.7561 MB / 0.8869 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6623, allocations: 0 / 0.8869 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007893/0.6631, allocations: 0.5635 MB / 0.8874 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009079/0.664, allocations: 207.9 kB / 0.8876 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.6673, allocations: 2.756 MB / 0.8903 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/0.6679, allocations: 1.146 MB / 0.8914 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.668, allocations: 47.42 kB / 0.8915 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.668, allocations: 4 kB / 0.8915 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of Templates: time 0.02054/0.6886, allocations: 17.83 MB / 0.9089 GB, free: 4.375 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)