Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001407/0.001407, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 279.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9202/0.9202, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 95.62 kB / 0.5945 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1551, allocations: 86.99 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4482/0.6034, allocations: 154.4 MB / 0.8303 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.6243, allocations: 21.67 MB / 0.8514 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.6262, allocations: 46.66 kB / 0.8515 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.6277, allocations: 1.125 MB / 0.8526 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.6288, allocations: 0.8136 MB / 0.8534 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009431/0.6298, allocations: 381.4 kB / 0.8537 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.6309, allocations: 1.354 MB / 0.855 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006813/0.6316, allocations: 0.6104 MB / 0.8556 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004995/0.6321, allocations: 0.4919 MB / 0.8561 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008302/0.6329, allocations: 0.9057 MB / 0.857 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-05/0.633, allocations: 41.69 kB / 0.857 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.6332, allocations: 83.08 kB / 0.8571 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.6335, allocations: 301.5 kB / 0.8574 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003619/0.6339, allocations: 463.7 kB / 0.8579 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008603/0.6348, allocations: 1.16 MB / 0.859 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6348, allocations: 0 / 0.859 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6348, allocations: 0 / 0.859 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.6348, allocations: 0 / 0.859 GB, free: 7.223 MB / 0.5762 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.002033/0.6369, allocations: 1.475 MB / 0.8604 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.6369, allocations: 10.09 kB / 0.8604 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.6371, allocations: 134 kB / 0.8606 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000736/0.6378, allocations: 0.6577 MB / 0.8612 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.6379, allocations: 71.56 kB / 0.8613 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.198e-05/0.638, allocations: 46.19 kB / 0.8613 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008892/0.6389, allocations: 0.5265 MB / 0.8618 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.6389, allocations: 6.375 kB / 0.8618 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/0.639, allocations: 17.19 kB / 0.8619 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.639, allocations: 7.5 kB / 0.8619 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.6398, allocations: 417.2 kB / 0.8623 GB, free: 4.832 MB / 0.5762 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.003157/0.6429, allocations: 2.726 MB / 0.8649 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008977/0.6439, allocations: 448.4 kB / 0.8654 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005781/0.6444, allocations: 313.6 kB / 0.8656 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.6445, allocations: 5.5 kB / 0.8657 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005172/0.645, allocations: 290.1 kB / 0.8659 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 1.963e-06/0.645, allocations: 3.938 kB / 0.8659 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.002466/0.6475, allocations: 1.144 MB / 0.8671 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.6475, allocations: 63.98 kB / 0.8671 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.6491, allocations: 1.755 MB / 0.8688 GB, free: 348 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.6492, allocations: 42.95 kB / 0.8689 GB, free: 304 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005487/0.6497, allocations: 0.5239 MB / 0.8694 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.6499, allocations: 147.8 kB / 0.8695 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.6501, allocations: 96.78 kB / 0.8696 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6502, allocations: 331.1 kB / 0.8699 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.6509, allocations: 208.8 kB / 0.8701 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.6514, allocations: 342.2 kB / 0.8705 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008364/0.6523, allocations: 0.5137 MB / 0.871 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.6523, allocations: 2.438 kB / 0.871 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001442/0.6537, allocations: 0.8128 MB / 0.8718 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.6537, allocations: 9.594 kB / 0.8718 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.6538, allocations: 4.312 kB / 0.8718 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.6542, allocations: 139.3 kB / 0.8719 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.6545, allocations: 97.12 kB / 0.872 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.657, allocations: 2.388 MB / 0.8743 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.6575, allocations: 75.55 kB / 0.8744 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.6575, allocations: 19.72 kB / 0.8744 GB, free: 12.02 MB / 0.5919 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.0004244/0.658, allocations: 394.7 kB / 0.8748 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6581, allocations: 115.2 kB / 0.8749 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.6583, allocations: 144.2 kB / 0.875 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.6583, allocations: 4.656 kB / 0.875 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.6583, allocations: 10.73 kB / 0.8751 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6583, allocations: 0 / 0.8751 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.6605, allocations: 1.485 MB / 0.8765 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6605, allocations: 4 kB / 0.8765 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.6607, allocations: 43.8 kB / 0.8765 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.6611, allocations: 168.7 kB / 0.8767 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.6611, allocations: 17.67 kB / 0.8767 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/0.6643, allocations: 3.69 MB / 0.8803 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6644, allocations: 2.062 kB / 0.8803 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.666, allocations: 0.9836 MB / 0.8813 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.6662, allocations: 213.8 kB / 0.8815 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.239e-05/0.6663, allocations: 10.72 kB / 0.8815 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.6666, allocations: 51.27 kB / 0.8816 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.6668, allocations: 50.48 kB / 0.8816 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.6668, allocations: 14.25 kB / 0.8816 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001238/0.6681, allocations: 1.292 MB / 0.8829 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6681, allocations: 0 / 0.8829 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006827/0.6688, allocations: 207 kB / 0.8831 GB, free: 5.625 MB / 0.5919 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.001036/0.6698, allocations: 482.8 kB / 0.8835 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.671, allocations: 0.6635 MB / 0.8842 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.671, allocations: 0 / 0.8842 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007173/0.6717, allocations: 0.5208 MB / 0.8847 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.6729, allocations: 186.2 kB / 0.8849 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.6764, allocations: 2.681 MB / 0.8875 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/0.6772, allocations: 1.149 MB / 0.8886 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003044/0.6775, allocations: 100.7 kB / 0.8887 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.6777, allocations: 43.44 kB / 0.8887 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of SimCode: time 1.563e-06/0.6777, allocations: 0 / 0.8887 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of Templates: time 0.01704/0.6947, allocations: 9.432 MB / 0.898 GB, free: 7.277 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)