Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005111/0.005111, allocations: 99.45 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.001135/0.001134, allocations: 193.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 251.7 MB / 0.5094 GB, free: 3.082 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 69.77 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1655, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.4875/0.6531, allocations: 157.2 MB / 0.9816 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02237/0.6755, allocations: 21.8 MB / 1.003 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.6773, allocations: 54.97 kB / 1.003 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.6795, allocations: 2.156 MB / 1.005 GB, free: 0.7773 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001908/0.6814, allocations: 1.417 MB / 1.006 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.6826, allocations: 0.5383 MB / 1.007 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001352/0.6839, allocations: 1.815 MB / 1.009 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009508/0.6849, allocations: 1.081 MB / 1.01 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006783/0.6856, allocations: 0.8703 MB / 1.011 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.6868, allocations: 1.535 MB / 1.012 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.6869, allocations: 90.12 kB / 1.012 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.6872, allocations: 137.8 kB / 1.012 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000364/0.6876, allocations: 0.5313 MB / 1.013 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005168/0.6881, allocations: 0.7747 MB / 1.014 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.6895, allocations: 1.861 MB / 1.015 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.6895, allocations: 0 / 1.015 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6895, allocations: 4 kB / 1.015 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.6896, allocations: 0 / 1.015 GB, free: 10.54 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002634/0.6922, allocations: 2.356 MB / 1.018 GB, free: 8.723 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.6922, allocations: 8.125 kB / 1.018 GB, free: 8.723 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.6925, allocations: 243.4 kB / 1.018 GB, free: 8.59 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.6935, allocations: 1.022 MB / 1.019 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.6936, allocations: 87.66 kB / 1.019 GB, free: 7.707 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/0.6937, allocations: 70.64 kB / 1.019 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.6948, allocations: 0.7192 MB / 1.02 GB, free: 7.254 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.6948, allocations: 6.484 kB / 1.02 GB, free: 7.25 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.6949, allocations: 21.38 kB / 1.02 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.6949, allocations: 12.56 kB / 1.02 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/0.6959, allocations: 0.5985 MB / 1.02 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003835/0.6997, allocations: 3.509 MB / 1.024 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.7011, allocations: 0.7084 MB / 1.025 GB, free: 2.949 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006883/0.7018, allocations: 406.3 kB / 1.025 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.7018, allocations: 16.55 kB / 1.025 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006899/0.7025, allocations: 434.8 kB / 1.025 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=70): time 1.994e-06/0.7025, allocations: 0 / 1.025 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.003716/0.7063, allocations: 1.805 MB / 1.027 GB, free: 248 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.7063, allocations: 63.95 kB / 1.027 GB, free: 172 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.7092, allocations: 3.308 MB / 1.03 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.7092, allocations: 41.7 kB / 1.03 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006465/0.7099, allocations: 0.8904 MB / 1.031 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.7101, allocations: 238 kB / 1.032 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.7102, allocations: 126.7 kB / 1.032 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7104, allocations: 334 kB / 1.032 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.7109, allocations: 313.8 kB / 1.032 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.7116, allocations: 434.3 kB / 1.033 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.7127, allocations: 0.716 MB / 1.033 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7127, allocations: 0 / 1.033 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00195/0.7147, allocations: 1.225 MB / 1.035 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.7147, allocations: 8 kB / 1.035 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7147, allocations: 3.938 kB / 1.035 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.7153, allocations: 265.6 kB / 1.035 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.7158, allocations: 131.8 kB / 1.035 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/0.7202, allocations: 4.746 MB / 1.04 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/0.7207, allocations: 95.53 kB / 1.04 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.7208, allocations: 32.12 kB / 1.04 GB, free: 2.879 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006511/0.7214, allocations: 0.6201 MB / 1.04 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.7216, allocations: 218.5 kB / 1.041 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.7219, allocations: 248.5 kB / 1.041 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7219, allocations: 12 kB / 1.041 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.7219, allocations: 4 kB / 1.041 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.722, allocations: 3.984 kB / 1.041 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.7251, allocations: 2.335 MB / 1.043 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7251, allocations: 0 / 1.043 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.7254, allocations: 59.91 kB / 1.043 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005514/0.7259, allocations: 253.5 kB / 1.043 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.726, allocations: 15.98 kB / 1.043 GB, free: 15.03 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.7301, allocations: 4.764 MB / 1.048 GB, free: 9.992 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7302, allocations: 0 / 1.048 GB, free: 9.992 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.7325, allocations: 1.585 MB / 1.05 GB, free: 8.383 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.7328, allocations: 323.5 kB / 1.05 GB, free: 8.047 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.733, allocations: 23.98 kB / 1.05 GB, free: 8.023 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.7334, allocations: 43.91 kB / 1.05 GB, free: 7.98 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.7335, allocations: 72.45 kB / 1.05 GB, free: 7.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.706e-05/0.7336, allocations: 27.98 kB / 1.05 GB, free: 7.883 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002122/0.7357, allocations: 2.415 MB / 1.052 GB, free: 5.453 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7357, allocations: 0 / 1.052 GB, free: 5.453 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000697/0.7364, allocations: 287.7 kB / 1.053 GB, free: 5.172 MB / 0.795 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.0009799/0.7374, allocations: 0.4929 MB / 1.053 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001655/0.739, allocations: 1.062 MB / 1.054 GB, free: 3.766 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7391, allocations: 4 kB / 1.054 GB, free: 3.762 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009383/0.74, allocations: 0.6898 MB / 1.055 GB, free: 3.047 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.7411, allocations: 292.5 kB / 1.055 GB, free: 2.773 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.7458, allocations: 4.039 MB / 1.059 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.747, allocations: 1.528 MB / 1.061 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003618/0.7474, allocations: 150.4 kB / 1.061 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.7475, allocations: 71.41 kB / 1.061 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of SimCode: time 8.82e-07/0.7475, allocations: 0 / 1.061 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of Templates: time 0.0226/0.7701, allocations: 14.56 MB / 1.075 GB, free: 14.52 MB / 0.8262 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)