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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 108 kB / 16.41 MB, free: 6.027 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.001256/0.001256, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 292.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9138/0.9138, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4542, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1723/0.6265, allocations: 156.7 MB / 0.9201 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02543/0.652, allocations: 21.76 MB / 0.9413 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.6543, allocations: 47.75 kB / 0.9414 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.6562, allocations: 1.165 MB / 0.9425 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.658, allocations: 0.8524 MB / 0.9433 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.6595, allocations: 441.3 kB / 0.9438 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.6614, allocations: 1.255 MB / 0.945 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.6625, allocations: 0.6792 MB / 0.9457 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.6636, allocations: 0.5607 MB / 0.9462 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.6649, allocations: 0.9138 MB / 0.9471 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.6651, allocations: 64 kB / 0.9472 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.6655, allocations: 115.9 kB / 0.9473 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.6658, allocations: 320.7 kB / 0.9476 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005532/0.6664, allocations: 492.8 kB / 0.948 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.6677, allocations: 1.205 MB / 0.9492 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6677, allocations: 0 / 0.9492 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6678, allocations: 0 / 0.9492 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.266e-05/0.6678, allocations: 0 / 0.9492 GB, free: 8.672 MB / 0.7169 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.002674/0.6705, allocations: 1.471 MB / 0.9507 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.6705, allocations: 11.97 kB / 0.9507 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.6708, allocations: 139.2 kB / 0.9508 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009197/0.6717, allocations: 0.6629 MB / 0.9514 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.6719, allocations: 74.69 kB / 0.9515 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.183e-05/0.672, allocations: 51.98 kB / 0.9516 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009974/0.673, allocations: 0.5184 MB / 0.9521 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.673, allocations: 4 kB / 0.9521 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.6731, allocations: 16 kB / 0.9521 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.6731, allocations: 11.98 kB / 0.9521 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008415/0.6739, allocations: 415.7 kB / 0.9525 GB, free: 5.188 MB / 0.7169 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.003599/0.6776, allocations: 2.72 MB / 0.9552 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/0.6785, allocations: 440.6 kB / 0.9556 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/0.6792, allocations: 316.1 kB / 0.9559 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.6792, allocations: 4.328 kB / 0.9559 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005268/0.6798, allocations: 275.8 kB / 0.9561 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 2.996e-06/0.6798, allocations: 0 / 0.9561 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.3945/1.074, allocations: 1.149 MB / 0.9573 GB, free: 192 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/1.074, allocations: 60.31 kB / 0.9573 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/1.078, allocations: 1.764 MB / 0.9591 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/1.078, allocations: 37.89 kB / 0.9591 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005911/1.079, allocations: 0.5205 MB / 0.9596 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/1.079, allocations: 150.9 kB / 0.9597 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/1.079, allocations: 98.25 kB / 0.9598 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.079, allocations: 326.3 kB / 0.9601 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/1.08, allocations: 216 kB / 0.9603 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/1.081, allocations: 339.1 kB / 0.9607 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009562/1.081, allocations: 0.5143 MB / 0.9612 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/1.082, allocations: 8.625 kB / 0.9612 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001781/1.083, allocations: 0.8051 MB / 0.962 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.083, allocations: 6.188 kB / 0.962 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.083, allocations: 8.328 kB / 0.962 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000441/1.084, allocations: 139.2 kB / 0.9621 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/1.084, allocations: 105.4 kB / 0.9622 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/1.087, allocations: 2.596 MB / 0.9648 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/1.087, allocations: 82.75 kB / 0.9648 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/1.087, allocations: 21.92 kB / 0.9649 GB, free: 187.7 MB / 0.7169 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.0004891/1.088, allocations: 389.9 kB / 0.9652 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/1.088, allocations: 112.6 kB / 0.9653 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/1.088, allocations: 140.1 kB / 0.9655 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.088, allocations: 4.125 kB / 0.9655 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/1.088, allocations: 8.062 kB / 0.9655 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.088, allocations: 5.047 kB / 0.9655 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/1.09, allocations: 1.48 MB / 0.9669 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.09, allocations: 4.594 kB / 0.9669 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/1.09, allocations: 53.77 kB / 0.967 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003647/1.091, allocations: 165.1 kB / 0.9671 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/1.091, allocations: 10.81 kB / 0.9671 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/1.094, allocations: 4.023 MB / 0.9711 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.094, allocations: 0.75 kB / 0.9711 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/1.095, allocations: 1.001 MB / 0.9721 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/1.095, allocations: 206.9 kB / 0.9723 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/1.095, allocations: 13.03 kB / 0.9723 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/1.096, allocations: 27 kB / 0.9723 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.096, allocations: 52.95 kB / 0.9723 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/1.096, allocations: 12.88 kB / 0.9724 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001177/1.097, allocations: 1.293 MB / 0.9736 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.097, allocations: 0 / 0.9736 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006734/1.098, allocations: 195.9 kB / 0.9738 GB, free: 181.7 MB / 0.7169 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.001022/1.099, allocations: 480.1 kB / 0.9743 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001179/1.1, allocations: 0.6704 MB / 0.9749 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.1, allocations: 0 / 0.9749 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006309/1.101, allocations: 0.5168 MB / 0.9754 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008984/1.102, allocations: 210 kB / 0.9756 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/1.104, allocations: 2.42 MB / 0.978 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/1.105, allocations: 1.147 MB / 0.9791 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/1.105, allocations: 47.42 kB / 0.9792 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/1.105, allocations: 0 / 0.9792 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.01741/1.122, allocations: 17.87 MB / 0.9966 GB, free: 158.9 MB / 0.7169 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)