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.006725/0.006726, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001367/0.001367, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 274.6 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9241/0.9241, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 95.86 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.15, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.5198/0.6698, allocations: 156.7 MB / 0.9194 GB, free: 6.105 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02358/0.6934, allocations: 21.76 MB / 0.9407 GB, free: 272 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.6954, allocations: 51.69 kB / 0.9407 GB, free: 220 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.6971, allocations: 1.161 MB / 0.9418 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.6988, allocations: 0.8523 MB / 0.9427 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.7002, allocations: 444 kB / 0.9431 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.7017, allocations: 1.264 MB / 0.9443 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007241/0.7025, allocations: 0.6877 MB / 0.945 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005906/0.7031, allocations: 0.5568 MB / 0.9455 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009079/0.704, allocations: 0.9138 MB / 0.9464 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.7041, allocations: 68 kB / 0.9465 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.7044, allocations: 104 kB / 0.9466 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.7046, allocations: 316.8 kB / 0.9469 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003672/0.705, allocations: 492.8 kB / 0.9474 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.7061, allocations: 1.208 MB / 0.9486 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7061, allocations: 0 / 0.9486 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7061, allocations: 0 / 0.9486 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.7061, allocations: 0 / 0.9486 GB, free: 8.195 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.001986/0.7081, allocations: 1.528 MB / 0.95 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.7082, allocations: 12.03 kB / 0.9501 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.7083, allocations: 136 kB / 0.9502 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007455/0.7091, allocations: 0.6835 MB / 0.9509 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.7092, allocations: 70.69 kB / 0.9509 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/0.7093, allocations: 48 kB / 0.951 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008721/0.7102, allocations: 0.5145 MB / 0.9515 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.7102, allocations: 0 / 0.9515 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.7103, allocations: 20 kB / 0.9515 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.7103, allocations: 16 kB / 0.9515 GB, free: 5.051 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007849/0.7111, allocations: 415.7 kB / 0.9519 GB, free: 4.641 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.00316/0.7142, allocations: 2.784 MB / 0.9546 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009578/0.7152, allocations: 466.6 kB / 0.9551 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.7158, allocations: 292.4 kB / 0.9553 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.7158, allocations: 8.266 kB / 0.9554 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005403/0.7164, allocations: 294.8 kB / 0.9556 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=45): time 2.364e-06/0.7164, allocations: 0 / 0.9556 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.00275/0.7191, allocations: 1.249 MB / 0.9569 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.7192, allocations: 55.41 kB / 0.9569 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.7209, allocations: 1.755 MB / 0.9586 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.7209, allocations: 37.7 kB / 0.9587 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.7213, allocations: 0.5183 MB / 0.9592 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.7214, allocations: 150.8 kB / 0.9593 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.7216, allocations: 94.25 kB / 0.9594 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.7217, allocations: 330 kB / 0.9597 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/0.7221, allocations: 221 kB / 0.9599 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.7226, allocations: 328.8 kB / 0.9602 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008754/0.7235, allocations: 0.5074 MB / 0.9607 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.7235, allocations: 0 / 0.9607 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001537/0.7251, allocations: 0.858 MB / 0.9616 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7251, allocations: 8 kB / 0.9616 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.7251, allocations: 7.984 kB / 0.9616 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004999/0.7256, allocations: 182.8 kB / 0.9618 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.726, allocations: 99.94 kB / 0.9619 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/0.7292, allocations: 3 MB / 0.9648 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.7296, allocations: 75.62 kB / 0.9649 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.7296, allocations: 16 kB / 0.9649 GB, free: 6.781 MB / 0.7169 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.0005032/0.7301, allocations: 395.3 kB / 0.9652 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.7303, allocations: 123.1 kB / 0.9654 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.7305, allocations: 143.7 kB / 0.9655 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.7305, allocations: 4 kB / 0.9655 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.7306, allocations: 7.984 kB / 0.9655 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.7306, allocations: 0 / 0.9655 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.7328, allocations: 1.56 MB / 0.967 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7329, allocations: 4 kB / 0.967 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.7331, allocations: 43.91 kB / 0.9671 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/0.7336, allocations: 195.1 kB / 0.9673 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.7336, allocations: 19.92 kB / 0.9673 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004433/0.7381, allocations: 4.558 MB / 0.9717 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7381, allocations: 0 / 0.9717 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.7399, allocations: 1.071 MB / 0.9728 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.7401, allocations: 228.2 kB / 0.973 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/0.7402, allocations: 12 kB / 0.973 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.7405, allocations: 23.97 kB / 0.973 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.7406, allocations: 55.86 kB / 0.9731 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.7407, allocations: 19.98 kB / 0.9731 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001239/0.7419, allocations: 1.281 MB / 0.9744 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7419, allocations: 0 / 0.9744 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007173/0.7427, allocations: 199.8 kB / 0.9746 GB, free: 12.47 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,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.001131/0.7438, allocations: 477.3 kB / 0.975 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.7452, allocations: 0.7227 MB / 0.9757 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7452, allocations: 0 / 0.9757 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008238/0.7461, allocations: 0.5523 MB / 0.9763 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009024/0.747, allocations: 207.9 kB / 0.9765 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.7502, allocations: 2.412 MB / 0.9788 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007075/0.7509, allocations: 1.157 MB / 0.9799 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000228/0.7512, allocations: 88.78 kB / 0.98 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.7513, allocations: 43.42 kB / 0.9801 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.7513, allocations: 0 / 0.9801 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.01695/0.7682, allocations: 10.58 MB / 0.9904 GB, free: 12.47 MB / 0.7481 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)