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.0009842/0.0009842, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009652/0.0009652, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9202/0.9202, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.932/1.932, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.623e-06/1.623e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.647e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.00305/0.003076, allocations: 1.762 MB / 0.7618 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.004416, allocations: 0.773 MB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.004479, allocations: 1.781 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.258e-05/0.004521, allocations: 11.86 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.426e-05/0.004616, allocations: 24.61 kB / 0.7626 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.005017, allocations: 101.2 kB / 0.7627 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.005167, allocations: 119.5 kB / 0.7628 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.005268, allocations: 25.95 kB / 0.7628 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.005388, allocations: 64.52 kB / 0.7629 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.005455, allocations: 39.89 kB / 0.7629 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.005477, allocations: 9.312 kB / 0.7629 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.005753, allocations: 119.8 kB / 0.763 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.00578, allocations: 19.92 kB / 0.763 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.005821, allocations: 41.19 kB / 0.7631 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.00606, allocations: 143.5 kB / 0.7632 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.006063, allocations: 4 kB / 0.7632 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.006064, allocations: 1.25 kB / 0.7632 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.006067, allocations: 0 / 0.7632 GB, free: 3.414 MB / 0.7136 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.0004613/0.006529, allocations: 341.4 kB / 0.7635 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.006566, allocations: 8.031 kB / 0.7636 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.006612, allocations: 20.92 kB / 0.7636 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.006847, allocations: 118.4 kB / 0.7637 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.006863, allocations: 12.31 kB / 0.7637 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.006879, allocations: 8.906 kB / 0.7637 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.007072, allocations: 109 kB / 0.7638 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.007081, allocations: 192 / 0.7638 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.007092, allocations: 1.5 kB / 0.7638 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.0071, allocations: 7.938 kB / 0.7638 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.007168, allocations: 25.41 kB / 0.7638 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.007596, allocations: 233.2 kB / 0.7641 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.007818, allocations: 66.48 kB / 0.7641 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.007871, allocations: 21.56 kB / 0.7642 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.00808, allocations: 49.45 kB / 0.7642 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.008109, allocations: 34.56 kB / 0.7642 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.008111, allocations: 2.125 kB / 0.7642 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001982/0.008309, allocations: 65.61 kB / 0.7643 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.008347, allocations: 55.41 kB / 0.7643 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.008433, allocations: 130.7 kB / 0.7645 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.008447, allocations: 25.7 kB / 0.7645 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.008494, allocations: 104.2 kB / 0.7646 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.008524, allocations: 29.39 kB / 0.7646 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.008568, allocations: 25.7 kB / 0.7646 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.008655, allocations: 322.8 kB / 0.765 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.008682, allocations: 4 kB / 0.765 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.008708, allocations: 15.23 kB / 0.765 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/0.008767, allocations: 32.77 kB / 0.765 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.00877, allocations: 0 / 0.765 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000104/0.008874, allocations: 66.17 kB / 0.7651 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.008887, allocations: 5.875 kB / 0.7651 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.008892, allocations: 0 / 0.7651 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.008907, allocations: 4 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.009001, allocations: 15.98 kB / 0.7651 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.009005, allocations: 3.938 kB / 0.7651 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.009054, allocations: 14.97 kB / 0.7651 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.009062, allocations: 0 / 0.7651 GB, free: 1.336 MB / 0.7136 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 8.444e-05/0.009146, allocations: 121.8 kB / 0.7652 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.009179, allocations: 4 kB / 0.7652 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.00934, allocations: 74.12 kB / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.009343, allocations: 1.5 kB / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.009346, allocations: 0 / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/0.009351, allocations: 4 kB / 0.7653 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.009514, allocations: 93.77 kB / 0.7654 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.00952, allocations: 13.38 kB / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/0.009607, allocations: 16 kB / 0.7654 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.009611, allocations: 0 / 0.7654 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.00962, allocations: 4 kB / 0.7654 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.009626, allocations: 5.266 kB / 0.7654 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.009629, allocations: 3.938 kB / 0.7654 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.009781, allocations: 167.5 kB / 0.7656 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.009815, allocations: 8.609 kB / 0.7656 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.00983, allocations: 0 / 0.7656 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.681e-05/0.009917, allocations: 12.61 kB / 0.7656 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.009959, allocations: 8.641 kB / 0.7656 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.009965, allocations: 3.938 kB / 0.7656 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.009996, allocations: 24.36 kB / 0.7657 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.009996, allocations: 4 kB / 0.7657 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002659/0.01026, allocations: 31.88 kB / 0.7657 GB, free: 0.7031 MB / 0.7136 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.0001748/0.01044, allocations: 94.97 kB / 0.7658 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.01056, allocations: 40.78 kB / 0.7658 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.01056, allocations: 0 / 0.7658 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.01061, allocations: 20.86 kB / 0.7658 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.01087, allocations: 27.05 kB / 0.7659 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.01125, allocations: 220.5 kB / 0.7661 GB, free: 280 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.791e-05/0.01129, allocations: 67.33 kB / 0.7661 GB, free: 192 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.01132, allocations: 10.45 kB / 0.7661 GB, free: 184 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.01139, allocations: 67.89 kB / 0.7662 GB, free: 116 kB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.01139, allocations: 0 / 0.7662 GB, free: 116 kB / 0.7136 GB Notification: Performance of Templates: time 0.002923/0.01431, allocations: 1.509 MB / 0.7677 GB, free: 14.7 MB / 0.7292 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.883830954320729]