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.004963/0.004963, allocations: 101.3 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.00111/0.00111, allocations: 189.7 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 290.1 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9402/0.9402, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001786, allocations: 95.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1549, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5352/0.6901, allocations: 156.7 MB / 0.9194 GB, free: 6.137 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02657/0.7167, allocations: 21.76 MB / 0.9407 GB, free: 312 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.7184, allocations: 55.69 kB / 0.9407 GB, free: 256 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.72, allocations: 1.161 MB / 0.9418 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.7213, allocations: 0.8562 MB / 0.9427 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.7224, allocations: 434.4 kB / 0.9431 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.7236, allocations: 1.267 MB / 0.9443 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007462/0.7244, allocations: 0.6811 MB / 0.945 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006375/0.725, allocations: 0.5529 MB / 0.9455 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009854/0.726, allocations: 0.9177 MB / 0.9464 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.7261, allocations: 64 kB / 0.9465 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.7264, allocations: 108 kB / 0.9466 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.7266, allocations: 320.7 kB / 0.9469 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.727, allocations: 488.8 kB / 0.9474 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.7282, allocations: 1.201 MB / 0.9485 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7282, allocations: 0 / 0.9485 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7282, allocations: 4 kB / 0.9485 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.7282, allocations: 4 kB / 0.9485 GB, free: 8.23 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.002113/0.7303, allocations: 1.475 MB / 0.95 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.7304, allocations: 8.031 kB / 0.95 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.7306, allocations: 135.2 kB / 0.9501 GB, free: 6.559 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007986/0.7314, allocations: 0.6747 MB / 0.9508 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.7315, allocations: 74.69 kB / 0.9509 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.601e-05/0.7316, allocations: 44 kB / 0.9509 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009984/0.7327, allocations: 0.5145 MB / 0.9514 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.7327, allocations: 11.84 kB / 0.9514 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.7327, allocations: 16 kB / 0.9514 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.7328, allocations: 12 kB / 0.9514 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008396/0.7336, allocations: 415.7 kB / 0.9518 GB, free: 4.738 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.003501/0.7371, allocations: 2.784 MB / 0.9546 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.7382, allocations: 462.2 kB / 0.955 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.7387, allocations: 292.4 kB / 0.9553 GB, free: 0.9648 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.7388, allocations: 8.266 kB / 0.9553 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005747/0.7394, allocations: 310.6 kB / 0.9556 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=45): time 2.805e-06/0.7394, allocations: 0 / 0.9556 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.003035/0.7424, allocations: 1.233 MB / 0.9568 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.7425, allocations: 59.41 kB / 0.9568 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.7443, allocations: 1.748 MB / 0.9585 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.7443, allocations: 41.64 kB / 0.9586 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.7448, allocations: 0.5141 MB / 0.9591 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.7449, allocations: 145.9 kB / 0.9592 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.7451, allocations: 106.1 kB / 0.9593 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7452, allocations: 326 kB / 0.9596 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.7457, allocations: 217 kB / 0.9598 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.7462, allocations: 324.9 kB / 0.9602 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000925/0.7472, allocations: 0.5076 MB / 0.9607 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7472, allocations: 0 / 0.9607 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001601/0.7488, allocations: 0.8489 MB / 0.9615 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.7488, allocations: 13.64 kB / 0.9615 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.7488, allocations: 4 kB / 0.9615 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005053/0.7493, allocations: 180.9 kB / 0.9617 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.7497, allocations: 87.88 kB / 0.9618 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003395/0.7531, allocations: 3.003 MB / 0.9647 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.7535, allocations: 75.39 kB / 0.9648 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.7536, allocations: 20 kB / 0.9648 GB, free: 6.902 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.0004615/0.754, allocations: 395.3 kB / 0.9652 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.7542, allocations: 114.5 kB / 0.9653 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.7544, allocations: 143.6 kB / 0.9654 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.7544, allocations: 8 kB / 0.9654 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7544, allocations: 0 / 0.9654 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.7544, allocations: 0 / 0.9654 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.7568, allocations: 1.56 MB / 0.9669 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7568, allocations: 0 / 0.9669 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.757, allocations: 51.91 kB / 0.967 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000464/0.7575, allocations: 194.9 kB / 0.9672 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.7575, allocations: 11.94 kB / 0.9672 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004442/0.762, allocations: 4.556 MB / 0.9716 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.762, allocations: 0 / 0.9716 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.7638, allocations: 1.063 MB / 0.9727 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.7641, allocations: 215.5 kB / 0.9729 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.7642, allocations: 12 kB / 0.9729 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.7646, allocations: 27.97 kB / 0.9729 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.7647, allocations: 59.8 kB / 0.973 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.7648, allocations: 15.98 kB / 0.973 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001348/0.7661, allocations: 1.284 MB / 0.9742 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7661, allocations: 4 kB / 0.9742 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007519/0.7669, allocations: 199.7 kB / 0.9744 GB, free: 12.62 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.001114/0.768, allocations: 482.5 kB / 0.9749 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.7696, allocations: 0.7169 MB / 0.9756 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7696, allocations: 0 / 0.9756 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008833/0.7705, allocations: 0.5562 MB / 0.9761 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.7715, allocations: 216.4 kB / 0.9763 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.7751, allocations: 2.374 MB / 0.9787 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008186/0.7759, allocations: 1.149 MB / 0.9798 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002826/0.7762, allocations: 84.78 kB / 0.9799 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.7763, allocations: 47.42 kB / 0.9799 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.7763, allocations: 0 / 0.9799 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of Templates: time 0.0197/0.7961, allocations: 10.58 MB / 0.9902 GB, free: 12.66 MB / 0.7481 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)