Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003898/0.003898, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001096/0.001096, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.198/1.198, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.36/1.36, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.001183/0.001183, allocations: 63.91 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1618, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.5251/0.6869, allocations: 156.7 MB / 0.9811 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02452/0.7115, allocations: 21.58 MB / 1.002 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/0.714, allocations: 48.53 kB / 1.002 GB, free: 2.469 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.7157, allocations: 1.169 MB / 1.003 GB, free: 1.852 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.001525/0.7173, allocations: 0.8549 MB / 1.004 GB, free: 1.324 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.7185, allocations: 412.3 kB / 1.005 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.7199, allocations: 1.249 MB / 1.006 GB, free: 304 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008932/0.7208, allocations: 0.6777 MB / 1.006 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008311/0.7217, allocations: 0.5537 MB / 1.007 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.7228, allocations: 0.9148 MB / 1.008 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.7229, allocations: 65.41 kB / 1.008 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.7233, allocations: 114.5 kB / 1.008 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.7235, allocations: 317.4 kB / 1.008 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004886/0.724, allocations: 492.1 kB / 1.009 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.7251, allocations: 1.191 MB / 1.01 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7251, allocations: 0 / 1.01 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7252, allocations: 3.938 kB / 1.01 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.439e-05/0.7252, allocations: 2.469 kB / 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.002203/0.7274, allocations: 1.469 MB / 1.011 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.7275, allocations: 14.09 kB / 1.011 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.7277, allocations: 132 kB / 1.012 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007774/0.7284, allocations: 0.6634 MB / 1.012 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.7286, allocations: 68.41 kB / 1.012 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.7286, allocations: 45.97 kB / 1.012 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000814/0.7295, allocations: 0.5221 MB / 1.013 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.7295, allocations: 0 / 1.013 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.7295, allocations: 17.75 kB / 1.013 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.7295, allocations: 9.344 kB / 1.013 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000721/0.7303, allocations: 420.4 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.003002/0.7333, allocations: 2.713 MB / 1.016 GB, free: 9.023 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.7341, allocations: 446.9 kB / 1.016 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.7346, allocations: 306.1 kB / 1.017 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.7347, allocations: 13.31 kB / 1.017 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/0.7351, allocations: 275.4 kB / 1.017 GB, free: 8.457 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=44): time 1.813e-06/0.7352, allocations: 0 / 1.017 GB, free: 8.457 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44): time 0.002262/0.7374, allocations: 1.155 MB / 1.018 GB, free: 7.746 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.7375, allocations: 63.05 kB / 1.018 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.739, allocations: 1.758 MB / 1.02 GB, free: 6.887 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.739, allocations: 36.39 kB / 1.02 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.7394, allocations: 0.5281 MB / 1.02 GB, free: 6.387 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.7395, allocations: 142 kB / 1.02 GB, free: 6.266 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.7396, allocations: 93.94 kB / 1.021 GB, free: 6.207 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.7397, allocations: 339.7 kB / 1.021 GB, free: 5.875 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.7401, allocations: 207.1 kB / 1.021 GB, free: 5.781 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004495/0.7406, allocations: 335.6 kB / 1.021 GB, free: 5.531 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/0.7413, allocations: 0.5264 MB / 1.022 GB, free: 5.172 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7413, allocations: 0 / 1.022 GB, free: 5.172 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001292/0.7426, allocations: 0.8018 MB / 1.023 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.7427, allocations: 15.97 kB / 1.023 GB, free: 4.734 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7427, allocations: 4 kB / 1.023 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/0.7431, allocations: 138.1 kB / 1.023 GB, free: 4.594 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.7434, allocations: 107.8 kB / 1.023 GB, free: 4.488 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.7458, allocations: 2.599 MB / 1.026 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.7462, allocations: 75.55 kB / 1.026 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.7462, allocations: 24 kB / 1.026 GB, free: 1.66 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003696/0.7466, allocations: 383.3 kB / 1.026 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.7467, allocations: 114.5 kB / 1.026 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.7469, allocations: 139.6 kB / 1.026 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.7469, allocations: 8 kB / 1.026 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.7469, allocations: 0 / 1.026 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.7469, allocations: 7.984 kB / 1.026 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.7489, allocations: 1.487 MB / 1.028 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.7489, allocations: 4 kB / 1.028 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.7491, allocations: 47.91 kB / 1.028 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003506/0.7495, allocations: 165.5 kB / 1.028 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.7495, allocations: 15.98 kB / 1.028 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.7526, allocations: 4.009 MB / 1.032 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7526, allocations: 4.062 kB / 1.032 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.7541, allocations: 0.9925 MB / 1.033 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.7543, allocations: 215.5 kB / 1.033 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/0.7544, allocations: 12 kB / 1.033 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.7547, allocations: 31.95 kB / 1.033 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.7548, allocations: 52.06 kB / 1.033 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.7548, allocations: 11.98 kB / 1.033 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00114/0.756, allocations: 1.289 MB / 1.034 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.756, allocations: 0 / 1.034 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006075/0.7566, allocations: 203.6 kB / 1.035 GB, free: 8.098 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,12,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.0009675/0.7575, allocations: 485.5 kB / 1.035 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.7587, allocations: 0.6624 MB / 1.036 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7587, allocations: 0 / 1.036 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.7594, allocations: 0.5175 MB / 1.036 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/0.7602, allocations: 200.8 kB / 1.036 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.7633, allocations: 2.371 MB / 1.039 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.7639, allocations: 1.154 MB / 1.04 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.7642, allocations: 92.78 kB / 1.04 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.7643, allocations: 47.42 kB / 1.04 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7643, allocations: 8 kB / 1.04 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.01846/0.7828, allocations: 10.15 MB / 1.05 GB, free: 8.637 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)