Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.005284/0.005284, allocations: 100.5 kB / 15.73 MB, free: 6 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.001181/0.001181, allocations: 191.4 kB / 16.67 MB, free: 5.926 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.175/1.175, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.379/1.379, allocations: 251.7 MB / 0.5094 GB, free: 3.062 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.001428/0.001428, allocations: 67.91 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1869, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.5722/0.7591, allocations: 156.7 MB / 0.9811 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.026/0.7852, allocations: 21.58 MB / 1.002 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.7875, allocations: 52.53 kB / 1.002 GB, free: 2.469 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.7891, allocations: 1.158 MB / 1.003 GB, free: 1.859 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.001309/0.7904, allocations: 0.8622 MB / 1.004 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.7915, allocations: 410.3 kB / 1.005 GB, free: 1 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.7928, allocations: 1.249 MB / 1.006 GB, free: 308 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008393/0.7936, allocations: 0.6761 MB / 1.006 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006623/0.7943, allocations: 0.5651 MB / 1.007 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.7953, allocations: 0.9124 MB / 1.008 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-05/0.7954, allocations: 63.53 kB / 1.008 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.7957, allocations: 112.6 kB / 1.008 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.7959, allocations: 315.3 kB / 1.008 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.7963, allocations: 491.7 kB / 1.009 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.7973, allocations: 1.198 MB / 1.01 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7974, allocations: 0 / 1.01 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7974, allocations: 0 / 1.01 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.7974, allocations: 0 / 1.01 GB, free: 13.77 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.00208/0.7995, allocations: 1.472 MB / 1.011 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.7995, allocations: 14.88 kB / 1.011 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.7997, allocations: 137.7 kB / 1.012 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.8004, allocations: 0.6536 MB / 1.012 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.8006, allocations: 74.25 kB / 1.012 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.8006, allocations: 46.28 kB / 1.012 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008296/0.8015, allocations: 0.5162 MB / 1.013 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.8015, allocations: 2.75 kB / 1.013 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.8016, allocations: 14.09 kB / 1.013 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.8016, allocations: 12.47 kB / 1.013 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/0.8023, allocations: 416.6 kB / 1.013 GB, free: 11.38 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.003183/0.8055, allocations: 2.787 MB / 1.016 GB, free: 8.949 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008807/0.8064, allocations: 460.9 kB / 1.016 GB, free: 8.715 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.8069, allocations: 287.5 kB / 1.017 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.8069, allocations: 5.188 kB / 1.017 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004717/0.8074, allocations: 295 kB / 1.017 GB, free: 8.387 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/0.8074, allocations: 0 / 1.017 GB, free: 8.387 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.002559/0.81, allocations: 1.254 MB / 1.018 GB, free: 7.621 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.81, allocations: 58.16 kB / 1.018 GB, free: 7.555 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.8115, allocations: 1.746 MB / 1.02 GB, free: 6.77 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.8116, allocations: 40.45 kB / 1.02 GB, free: 6.727 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.8119, allocations: 0.5129 MB / 1.02 GB, free: 6.281 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.812, allocations: 150.1 kB / 1.021 GB, free: 6.152 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.8122, allocations: 95.7 kB / 1.021 GB, free: 6.09 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.8123, allocations: 323.2 kB / 1.021 GB, free: 5.773 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.8127, allocations: 217.9 kB / 1.021 GB, free: 5.672 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.8132, allocations: 332.5 kB / 1.022 GB, free: 5.438 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007537/0.8139, allocations: 0.5064 MB / 1.022 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.8139, allocations: 2.844 kB / 1.022 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001362/0.8153, allocations: 0.854 MB / 1.023 GB, free: 4.574 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.8153, allocations: 4 kB / 1.023 GB, free: 4.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8153, allocations: 4 kB / 1.023 GB, free: 4.566 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004675/0.8158, allocations: 184.8 kB / 1.023 GB, free: 4.383 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.8161, allocations: 99.8 kB / 1.023 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/0.8192, allocations: 2.993 MB / 1.026 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.8196, allocations: 75.55 kB / 1.026 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.8196, allocations: 20.44 kB / 1.026 GB, free: 1.066 MB / 0.7637 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.0004071/0.82, allocations: 387.2 kB / 1.027 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.8202, allocations: 118.4 kB / 1.027 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.8203, allocations: 143.6 kB / 1.027 GB, free: 428 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.8204, allocations: 11.94 kB / 1.027 GB, free: 416 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.8204, allocations: 4 kB / 1.027 GB, free: 412 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.8204, allocations: 0 / 1.027 GB, free: 412 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.8225, allocations: 1.568 MB / 1.028 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.8225, allocations: 0 / 1.028 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.8227, allocations: 43.97 kB / 1.028 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004274/0.8232, allocations: 199.1 kB / 1.029 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.8232, allocations: 8 kB / 1.029 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003825/0.827, allocations: 4.552 MB / 1.033 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8271, allocations: 4 kB / 1.033 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.8287, allocations: 1.058 MB / 1.034 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.829, allocations: 211.6 kB / 1.034 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.875e-05/0.8291, allocations: 12 kB / 1.034 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.8294, allocations: 35.97 kB / 1.034 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.8295, allocations: 48.16 kB / 1.034 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.8296, allocations: 19.98 kB / 1.034 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001319/0.8309, allocations: 1.277 MB / 1.036 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8309, allocations: 0 / 1.036 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007125/0.8316, allocations: 199.7 kB / 1.036 GB, free: 6.793 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.001018/0.8326, allocations: 485.7 kB / 1.036 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.8341, allocations: 0.7122 MB / 1.037 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8341, allocations: 0 / 1.037 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008203/0.8349, allocations: 0.5523 MB / 1.038 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008758/0.8358, allocations: 208.9 kB / 1.038 GB, free: 5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.8394, allocations: 2.364 MB / 1.04 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007335/0.8402, allocations: 1.146 MB / 1.041 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002466/0.8404, allocations: 88.72 kB / 1.041 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.8405, allocations: 51.42 kB / 1.041 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.8405, allocations: 0 / 1.041 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of Templates: time 0.02108/0.8616, allocations: 10.57 MB / 1.052 GB, free: 6.852 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)