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.001199/0.001199, allocations: 99.75 kB / 15.98 MB, free: 6.355 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.001229/0.001229, allocations: 196.8 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.2/1.2, 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.002042/0.002042, allocations: 293.5 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8619/0.8619, allocations: 169.2 MB / 0.4985 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 88.77 kB / 0.5953 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1612, allocations: 86.98 MB / 0.6803 GB, free: 8.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4206/0.5818, allocations: 154.6 MB / 0.8312 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02314/0.605, allocations: 21.48 MB / 0.8522 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.607, allocations: 47.69 kB / 0.8522 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.6085, allocations: 1.138 MB / 0.8534 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.6098, allocations: 0.8177 MB / 0.8542 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.6109, allocations: 380 kB / 0.8545 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.6121, allocations: 1.256 MB / 0.8557 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000716/0.6128, allocations: 0.6921 MB / 0.8564 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005709/0.6134, allocations: 0.553 MB / 0.857 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008715/0.6143, allocations: 0.9566 MB / 0.8579 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.459e-05/0.6144, allocations: 68 kB / 0.858 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.6146, allocations: 112 kB / 0.8581 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.6148, allocations: 336.6 kB / 0.8584 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.6152, allocations: 492.8 kB / 0.8589 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008414/0.616, allocations: 0.9316 MB / 0.8598 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.616, allocations: 0 / 0.8598 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.113e-06/0.6161, allocations: 0 / 0.8598 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.6161, allocations: 0 / 0.8598 GB, free: 7.656 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.002005/0.6181, allocations: 1.483 MB / 0.8612 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6181, allocations: 8.031 kB / 0.8612 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.6183, allocations: 131.3 kB / 0.8613 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007336/0.619, allocations: 0.659 MB / 0.862 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.6192, allocations: 70.69 kB / 0.8621 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.608e-05/0.6193, allocations: 52 kB / 0.8621 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008741/0.6201, allocations: 0.5145 MB / 0.8626 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.6202, allocations: 3.984 kB / 0.8626 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.6202, allocations: 16 kB / 0.8626 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.6202, allocations: 12 kB / 0.8626 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/0.621, allocations: 415.7 kB / 0.863 GB, free: 4.184 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.003135/0.6241, allocations: 2.803 MB / 0.8658 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009298/0.6251, allocations: 462.5 kB / 0.8662 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.6256, allocations: 289.3 kB / 0.8665 GB, free: 400 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.6256, allocations: 4.656 kB / 0.8665 GB, free: 396 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/0.6262, allocations: 294.1 kB / 0.8668 GB, free: 92 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.385e-06/0.6262, allocations: 4 kB / 0.8668 GB, free: 88 kB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002759/0.629, allocations: 1.245 MB / 0.868 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.629, allocations: 59.41 kB / 0.8681 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.6306, allocations: 1.744 MB / 0.8698 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.6307, allocations: 41.69 kB / 0.8698 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.6311, allocations: 0.514 MB / 0.8703 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.6312, allocations: 149.8 kB / 0.8704 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.6313, allocations: 98.25 kB / 0.8705 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.6314, allocations: 330 kB / 0.8709 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.6319, allocations: 217 kB / 0.8711 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.6324, allocations: 332.8 kB / 0.8714 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.6332, allocations: 0.5112 MB / 0.8719 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6332, allocations: 0 / 0.8719 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001484/0.6347, allocations: 0.8456 MB / 0.8727 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.6347, allocations: 5.875 kB / 0.8727 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6347, allocations: 4 kB / 0.8727 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004898/0.6352, allocations: 188.8 kB / 0.8729 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.6356, allocations: 99.75 kB / 0.873 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/0.6387, allocations: 2.996 MB / 0.8759 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.6392, allocations: 75.48 kB / 0.876 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.6392, allocations: 20 kB / 0.876 GB, free: 6.32 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.0004827/0.6397, allocations: 395.4 kB / 0.8764 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.6398, allocations: 118.4 kB / 0.8765 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.64, allocations: 139.7 kB / 0.8766 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.64, allocations: 7.984 kB / 0.8766 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.64, allocations: 4 kB / 0.8766 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6401, allocations: 0 / 0.8766 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.6422, allocations: 1.567 MB / 0.8782 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6423, allocations: 0 / 0.8782 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.6425, allocations: 43.91 kB / 0.8782 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/0.6429, allocations: 198.4 kB / 0.8784 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.643, allocations: 15.98 kB / 0.8784 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003921/0.6469, allocations: 4.556 MB / 0.8829 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6469, allocations: 0 / 0.8829 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.6486, allocations: 1.061 MB / 0.8839 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.6488, allocations: 211.6 kB / 0.8841 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.701e-05/0.6489, allocations: 12 kB / 0.8841 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.6492, allocations: 39.86 kB / 0.8841 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.6494, allocations: 51.92 kB / 0.8842 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.6494, allocations: 16 kB / 0.8842 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00124/0.6507, allocations: 1.281 MB / 0.8855 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6507, allocations: 0 / 0.8855 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007574/0.6515, allocations: 203.7 kB / 0.8857 GB, free: 12.03 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.001105/0.6526, allocations: 0.4901 MB / 0.8861 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.6541, allocations: 0.7603 MB / 0.8869 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.6542, allocations: 0 / 0.8869 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008212/0.655, allocations: 0.5553 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.0009551/0.656, allocations: 204.8 kB / 0.8876 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.6595, allocations: 2.752 MB / 0.8903 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/0.6601, allocations: 1.142 MB / 0.8914 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.6603, allocations: 51.42 kB / 0.8915 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.6603, allocations: 0 / 0.8915 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of Templates: time 0.02177/0.682, allocations: 17.84 MB / 0.9089 GB, free: 4.383 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)