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.005011/0.005011, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00123/0.00123, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 278.8 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.921/0.921, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 95.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1505, allocations: 86.97 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.474/0.6246, allocations: 156.7 MB / 0.9194 GB, free: 6.137 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02231/0.6469, allocations: 21.76 MB / 0.9407 GB, free: 316 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.6487, allocations: 51.75 kB / 0.9407 GB, free: 264 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.6502, allocations: 1.161 MB / 0.9418 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.6514, allocations: 0.8524 MB / 0.9427 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.6525, allocations: 454.3 kB / 0.9431 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.6536, allocations: 1.251 MB / 0.9443 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007141/0.6544, allocations: 0.68 MB / 0.945 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006094/0.655, allocations: 0.553 MB / 0.9455 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009215/0.6559, allocations: 0.9176 MB / 0.9464 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.656, allocations: 68 kB / 0.9465 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.6563, allocations: 112 kB / 0.9466 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.6565, allocations: 316.7 kB / 0.9469 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.6569, allocations: 496.8 kB / 0.9474 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.658, allocations: 1.202 MB / 0.9486 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.658, allocations: 0 / 0.9486 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.574e-06/0.658, allocations: 0 / 0.9486 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.658, allocations: 3.938 kB / 0.9486 GB, free: 8.223 MB / 0.7012 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.001996/0.66, allocations: 1.479 MB / 0.95 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.6601, allocations: 12.03 kB / 0.95 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.6602, allocations: 135.2 kB / 0.9501 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/0.661, allocations: 0.663 MB / 0.9508 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.6611, allocations: 66.69 kB / 0.9509 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/0.6612, allocations: 48 kB / 0.9509 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000864/0.6621, allocations: 0.5223 MB / 0.9514 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.6621, allocations: 3.906 kB / 0.9514 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.6622, allocations: 20 kB / 0.9514 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.6622, allocations: 12 kB / 0.9514 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007979/0.663, allocations: 419.7 kB / 0.9518 GB, free: 4.73 MB / 0.7012 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.003173/0.6662, allocations: 2.716 MB / 0.9545 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009496/0.6671, allocations: 436.3 kB / 0.9549 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006608/0.6678, allocations: 316.8 kB / 0.9552 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.6678, allocations: 4.328 kB / 0.9552 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005328/0.6684, allocations: 280.1 kB / 0.9555 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=44): time 2.645e-06/0.6684, allocations: 0 / 0.9555 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of matching and sorting (n=44): time 0.002557/0.671, allocations: 1.151 MB / 0.9566 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.671, allocations: 59.39 kB / 0.9567 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.6728, allocations: 1.756 MB / 0.9584 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.6728, allocations: 37.7 kB / 0.9584 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.6732, allocations: 0.5365 MB / 0.9589 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.6734, allocations: 142.1 kB / 0.9591 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.6735, allocations: 106.2 kB / 0.9592 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6736, allocations: 326 kB / 0.9595 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.6741, allocations: 213 kB / 0.9597 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.6747, allocations: 331.2 kB / 0.96 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008681/0.6755, allocations: 0.5131 MB / 0.9605 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.6755, allocations: 0 / 0.9605 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001488/0.677, allocations: 0.8168 MB / 0.9613 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6771, allocations: 9.969 kB / 0.9613 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6771, allocations: 7.938 kB / 0.9613 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/0.6775, allocations: 141.4 kB / 0.9615 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.6779, allocations: 103.9 kB / 0.9616 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.6806, allocations: 2.604 MB / 0.9641 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.681, allocations: 75.47 kB / 0.9642 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.6811, allocations: 23.98 kB / 0.9642 GB, free: 7.488 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.0004346/0.6815, allocations: 389.7 kB / 0.9646 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.6816, allocations: 118.5 kB / 0.9647 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.6819, allocations: 143.7 kB / 0.9648 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6819, allocations: 4 kB / 0.9648 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.6819, allocations: 8 kB / 0.9648 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.6819, allocations: 3.984 kB / 0.9648 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.6841, allocations: 1.487 MB / 0.9663 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6841, allocations: 0 / 0.9663 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.6843, allocations: 43.91 kB / 0.9663 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/0.6847, allocations: 165.6 kB / 0.9665 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.6848, allocations: 11.98 kB / 0.9665 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/0.6882, allocations: 4.027 MB / 0.9704 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6882, allocations: 0 / 0.9704 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.6898, allocations: 0.9891 MB / 0.9714 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.69, allocations: 211.6 kB / 0.9716 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/0.6901, allocations: 12 kB / 0.9716 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.6904, allocations: 35.8 kB / 0.9716 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.6906, allocations: 51.92 kB / 0.9717 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.6906, allocations: 15.98 kB / 0.9717 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001255/0.6919, allocations: 1.289 MB / 0.973 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6919, allocations: 0 / 0.973 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006886/0.6926, allocations: 199.7 kB / 0.9732 GB, free: 13.92 MB / 0.7325 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.00109/0.6937, allocations: 487.5 kB / 0.9736 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.695, allocations: 0.664 MB / 0.9743 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.695, allocations: 0.875 kB / 0.9743 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007655/0.6958, allocations: 0.521 MB / 0.9748 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009325/0.6967, allocations: 199.6 kB / 0.975 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.6999, allocations: 2.36 MB / 0.9773 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.7007, allocations: 1.157 MB / 0.9784 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002502/0.7009, allocations: 88.78 kB / 0.9785 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.7011, allocations: 47.42 kB / 0.9785 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.7011, allocations: 0 / 0.9785 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of Templates: time 0.01811/0.7192, allocations: 10.4 MB / 0.9887 GB, free: 14.23 MB / 0.7481 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)