Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009786/0.0009786, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.967/0.967, allocations: 177.2 MB / 204.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.808/1.808, allocations: 377.9 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 3.938 kB / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.311e-05, allocations: 4.719 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003154/0.003187, allocations: 1.755 MB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.004452, allocations: 0.7587 MB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.004519, allocations: 4 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.66e-05/0.004566, allocations: 11.86 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.222e-05/0.004658, allocations: 16.66 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.005126, allocations: 112.8 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.005276, allocations: 111.6 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.005398, allocations: 25.81 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.00551, allocations: 65.19 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.005582, allocations: 35.89 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.005607, allocations: 12 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.005906, allocations: 120.3 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.00603, allocations: 19.91 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.006076, allocations: 37.3 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.006333, allocations: 151.4 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006336, allocations: 0 / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006337, allocations: 1.156 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.006343, allocations: 0 / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005632/0.006906, allocations: 465.1 kB / 0.8152 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 9.168e-05/0.006998, allocations: 12.03 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.007077, allocations: 16.84 kB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.007215, allocations: 125.5 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.007235, allocations: 8.375 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.007259, allocations: 17.19 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.007561, allocations: 102.8 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.007571, allocations: 1.469 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.00759, allocations: 4.375 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.007605, allocations: 7.938 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.007728, allocations: 35.97 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.008217, allocations: 357.5 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.008413, allocations: 82.98 kB / 0.8159 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.00846, allocations: 39.66 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.008622, allocations: 33.28 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.008644, allocations: 41.39 kB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.008645, allocations: 1.562 kB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001968/0.008842, allocations: 85.58 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.008871, allocations: 55.39 kB / 0.8162 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.008953, allocations: 184.4 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.008967, allocations: 32.48 kB / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.009024, allocations: 155 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.009049, allocations: 31.69 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.009081, allocations: 27.38 kB / 0.8166 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.009187, allocations: 0.4923 MB / 0.8171 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.009212, allocations: 7.938 kB / 0.8171 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.009236, allocations: 15.98 kB / 0.8171 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.009295, allocations: 36.19 kB / 0.8171 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.009297, allocations: 0.5312 kB / 0.8171 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.602e-05/0.009393, allocations: 77.58 kB / 0.8172 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.009405, allocations: 5.938 kB / 0.8172 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.009409, allocations: 0 / 0.8172 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.009421, allocations: 0 / 0.8172 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.00949, allocations: 19.98 kB / 0.8172 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.009495, allocations: 0 / 0.8172 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.009527, allocations: 20.7 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.009535, allocations: 4 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.471e-05/0.0096, allocations: 161.4 kB / 0.8174 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.00962, allocations: 12.61 kB / 0.8174 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.009755, allocations: 90.62 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.009757, allocations: 2.875 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.00976, allocations: 0 / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.009765, allocations: 7.938 kB / 0.8175 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.009883, allocations: 152.5 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.009884, allocations: 0 / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.009937, allocations: 19.98 kB / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.009939, allocations: 0 / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.009948, allocations: 6.656 kB / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.00995, allocations: 4 kB / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009951, allocations: 0 / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.0101, allocations: 232.5 kB / 0.8179 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.01013, allocations: 15.94 kB / 0.8179 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.01015, allocations: 4 kB / 0.8179 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.534e-05/0.01019, allocations: 7.984 kB / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.01024, allocations: 8.922 kB / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.01025, allocations: 4 kB / 0.8179 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.01031, allocations: 139.1 kB / 0.8181 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01031, allocations: 1.125 kB / 0.8181 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001926/0.0105, allocations: 35.88 kB / 0.8181 GB, free: 10.75 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002174/0.01072, allocations: 116.2 kB / 0.8182 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.01088, allocations: 51.64 kB / 0.8183 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01088, allocations: 1.125 kB / 0.8183 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.01092, allocations: 31.67 kB / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.01119, allocations: 21.03 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.01171, allocations: 228 kB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.492e-05/0.01177, allocations: 67.7 kB / 0.8186 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.0118, allocations: 2.188 kB / 0.8186 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.01184, allocations: 17.84 kB / 0.8186 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/0.01184, allocations: 0 / 0.8186 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of Templates: time 0.004887/0.01673, allocations: 1.589 MB / 0.8202 GB, free: 8.621 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.77684281906113]