Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001553/0.001554, allocations: 112.1 kB / 16.38 MB, free: 6.477 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.001799/0.001799, allocations: 189.8 kB / 17.31 MB, free: 5.82 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.667/1.667, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.869/1.869, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.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.001444/0.001444, allocations: 76.11 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2801, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5987/0.8788, allocations: 156.7 MB / 0.9378 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02686/0.9057, allocations: 21.56 MB / 0.9589 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.9079, allocations: 51.69 kB / 0.9589 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.9099, allocations: 1.161 MB / 0.9601 GB, free: 6.523 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.001805/0.9117, allocations: 0.8484 MB / 0.9609 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.913, allocations: 414.4 kB / 0.9613 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.9149, allocations: 1.247 MB / 0.9625 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.9161, allocations: 0.6796 MB / 0.9632 GB, free: 3.375 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.9171, allocations: 0.5508 MB / 0.9637 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.9185, allocations: 0.9099 MB / 0.9646 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000196/0.9187, allocations: 64 kB / 0.9647 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.9191, allocations: 116 kB / 0.9648 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/0.9195, allocations: 316.7 kB / 0.9651 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006448/0.9201, allocations: 496.8 kB / 0.9656 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.9215, allocations: 1.191 MB / 0.9667 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9215, allocations: 0 / 0.9667 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.694e-06/0.9215, allocations: 0 / 0.9667 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.494e-05/0.9216, allocations: 0 / 0.9667 GB, free: 15.75 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002705/0.9243, allocations: 1.474 MB / 0.9682 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9243, allocations: 8.031 kB / 0.9682 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.9246, allocations: 131.3 kB / 0.9683 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.9256, allocations: 0.6705 MB / 0.9689 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.9257, allocations: 74.69 kB / 0.969 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-05/0.9258, allocations: 43.98 kB / 0.9691 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000994/0.9268, allocations: 0.5223 MB / 0.9696 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.9269, allocations: 0.75 kB / 0.9696 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.9269, allocations: 16 kB / 0.9696 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.9269, allocations: 12 kB / 0.9696 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000822/0.9278, allocations: 411.7 kB / 0.97 GB, free: 12.27 MB / 0.7637 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.003645/0.9314, allocations: 2.794 MB / 0.9727 GB, free: 9.23 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.9324, allocations: 457.6 kB / 0.9731 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.933, allocations: 284.7 kB / 0.9734 GB, free: 8.496 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.933, allocations: 8 kB / 0.9734 GB, free: 8.488 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005737/0.9336, allocations: 295.1 kB / 0.9737 GB, free: 8.191 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=45): time 2.696e-06/0.9336, allocations: 0 / 0.9737 GB, free: 8.191 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.00298/0.9366, allocations: 1.242 MB / 0.9749 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.9367, allocations: 63.34 kB / 0.975 GB, free: 6.824 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.9385, allocations: 1.744 MB / 0.9767 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.9386, allocations: 42.12 kB / 0.9767 GB, free: 5.023 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.939, allocations: 0.5133 MB / 0.9772 GB, free: 4.504 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.9392, allocations: 149.9 kB / 0.9774 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.9393, allocations: 98.25 kB / 0.9775 GB, free: 4.25 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9395, allocations: 333.9 kB / 0.9778 GB, free: 3.918 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.94, allocations: 217 kB / 0.978 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.9405, allocations: 324.9 kB / 0.9783 GB, free: 3.352 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009112/0.9414, allocations: 0.509 MB / 0.9788 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.9414, allocations: 7.375 kB / 0.9788 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001686/0.9431, allocations: 0.854 MB / 0.9796 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.9432, allocations: 8 kB / 0.9796 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.9432, allocations: 4 kB / 0.9796 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005269/0.9437, allocations: 181.5 kB / 0.9798 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.9441, allocations: 95.91 kB / 0.9799 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/0.9477, allocations: 2.99 MB / 0.9828 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.9482, allocations: 75.56 kB / 0.9829 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.9483, allocations: 19.98 kB / 0.9829 GB, free: 14.43 MB / 0.7794 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,$PRE.mean.y,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.0005452/0.9488, allocations: 387.3 kB / 0.9833 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.949, allocations: 118.4 kB / 0.9834 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.9493, allocations: 143.6 kB / 0.9835 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.9493, allocations: 4 kB / 0.9835 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.9493, allocations: 4 kB / 0.9836 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.9494, allocations: 3.984 kB / 0.9836 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.9521, allocations: 1.559 MB / 0.9851 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9521, allocations: 0 / 0.9851 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.9523, allocations: 43.97 kB / 0.9851 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005023/0.9528, allocations: 198.8 kB / 0.9853 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.9529, allocations: 8 kB / 0.9853 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004668/0.9576, allocations: 4.569 MB / 0.9898 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9576, allocations: 0 / 0.9898 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.9596, allocations: 1.059 MB / 0.9908 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.9599, allocations: 211.6 kB / 0.991 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.9601, allocations: 15.98 kB / 0.991 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.9605, allocations: 27.97 kB / 0.9911 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.9606, allocations: 55.86 kB / 0.9911 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.9607, allocations: 16 kB / 0.9911 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001563/0.9622, allocations: 1.281 MB / 0.9924 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9622, allocations: 3.938 kB / 0.9924 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008437/0.9631, allocations: 191.7 kB / 0.9926 GB, free: 4.176 MB / 0.7794 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) * 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.001193/0.9643, allocations: 480.2 kB / 0.993 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.966, allocations: 0.7242 MB / 0.9937 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.966, allocations: 0 / 0.9937 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009744/0.967, allocations: 0.5449 MB / 0.9943 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.9681, allocations: 212.8 kB / 0.9945 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.9724, allocations: 2.419 MB / 0.9968 GB, free: 16 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009422/0.9733, allocations: 1.142 MB / 0.9979 GB, free: 14.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.9735, allocations: 51.42 kB / 0.998 GB, free: 14.79 MB / 0.795 GB Notification: Performance of SimCode: time 7.91e-07/0.9735, allocations: 3.938 kB / 0.998 GB, free: 14.79 MB / 0.795 GB Notification: Performance of Templates: time 0.02682/1, allocations: 17.78 MB / 1.015 GB, free: 13.09 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)