Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009147/0.0009147, allocations: 89.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001012/0.001012, allocations: 177 kB / 23.03 MB, free: 1.539 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.9624/0.9624, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.936/1.936, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.675e-05, allocations: 6.719 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.001862/0.001878, allocations: 1.764 MB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003032, allocations: 0.7666 MB / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.003081, allocations: 0 / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.003116, allocations: 7.875 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.003185, allocations: 29.34 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.003519, allocations: 112.3 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.003627, allocations: 107.6 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.00372, allocations: 25.91 kB / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.32e-05/0.003803, allocations: 67.31 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.859e-05/0.003852, allocations: 39.88 kB / 0.8811 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.00387, allocations: 8 kB / 0.8811 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.004088, allocations: 115.8 kB / 0.8812 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.004108, allocations: 23.91 kB / 0.8812 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.004142, allocations: 35.91 kB / 0.8812 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.004315, allocations: 147.5 kB / 0.8814 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004317, allocations: 0 / 0.8814 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004318, allocations: 0 / 0.8814 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.004321, allocations: 0.5 kB / 0.8814 GB, free: 3.051 MB / 0.8386 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.0004027/0.004724, allocations: 469.5 kB / 0.8818 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.004757, allocations: 8.031 kB / 0.8818 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.004801, allocations: 24.84 kB / 0.8819 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.232e-05/0.004883, allocations: 125.1 kB / 0.882 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.004896, allocations: 8.375 kB / 0.882 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.004908, allocations: 13.84 kB / 0.882 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.005075, allocations: 112.4 kB / 0.8821 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.005083, allocations: 192 / 0.8821 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.005095, allocations: 12.36 kB / 0.8821 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.005105, allocations: 11.92 kB / 0.8821 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.781e-05/0.005173, allocations: 35.92 kB / 0.8822 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.005541, allocations: 355.4 kB / 0.8825 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.005721, allocations: 71.08 kB / 0.8826 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.005766, allocations: 31.72 kB / 0.8826 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.00592, allocations: 39.97 kB / 0.8826 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.005939, allocations: 41.39 kB / 0.8827 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.005941, allocations: 0 / 0.8827 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001903/0.006131, allocations: 89.56 kB / 0.8828 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.006156, allocations: 59.34 kB / 0.8828 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.00623, allocations: 189.2 kB / 0.883 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.006241, allocations: 29.7 kB / 0.883 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.006291, allocations: 155 kB / 0.8832 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.006314, allocations: 27.75 kB / 0.8832 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.006345, allocations: 27.38 kB / 0.8832 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.006448, allocations: 0.4884 MB / 0.8837 GB, free: 484 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.006476, allocations: 15.98 kB / 0.8837 GB, free: 468 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.006498, allocations: 12 kB / 0.8837 GB, free: 456 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.67e-05/0.006555, allocations: 44.17 kB / 0.8838 GB, free: 408 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006557, allocations: 3.938 kB / 0.8838 GB, free: 404 kB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.159e-05/0.006649, allocations: 69.64 kB / 0.8838 GB, free: 328 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.006663, allocations: 8 kB / 0.8838 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.006668, allocations: 0 / 0.8838 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.006682, allocations: 0 / 0.8838 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.006749, allocations: 23.92 kB / 0.8839 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.006753, allocations: 0 / 0.8839 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.006787, allocations: 15.83 kB / 0.8839 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.006793, allocations: 12 kB / 0.8839 GB, free: 268 kB / 0.8386 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.454e-05/0.006858, allocations: 152.6 kB / 0.884 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.006877, allocations: 15.95 kB / 0.8841 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.00702, allocations: 89.97 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007021, allocations: 0 / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.007025, allocations: 4 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.007029, allocations: 3.938 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.007145, allocations: 152.6 kB / 0.8843 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007146, allocations: 4 kB / 0.8843 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.007196, allocations: 19.98 kB / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007197, allocations: 0 / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.007204, allocations: 0 / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.007205, allocations: 0 / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007206, allocations: 0 / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.00733, allocations: 235.8 kB / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.007354, allocations: 11.95 kB / 0.8846 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.007366, allocations: 3.984 kB / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.007406, allocations: 4 kB / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.007446, allocations: 19.92 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.007449, allocations: 0 / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.007492, allocations: 143.1 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007492, allocations: 0 / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001668/0.007659, allocations: 39.83 kB / 0.8848 GB, free: 15.3 MB / 0.8542 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.0001112/0.00777, allocations: 107.2 kB / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.007879, allocations: 51.59 kB / 0.8849 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.007879, allocations: 0 / 0.8849 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/0.007918, allocations: 31.62 kB / 0.8849 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.008126, allocations: 28.62 kB / 0.885 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.008446, allocations: 222.2 kB / 0.8852 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.008481, allocations: 64 kB / 0.8852 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.008515, allocations: 11.98 kB / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.008546, allocations: 12.5 kB / 0.8853 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/0.008546, allocations: 0 / 0.8853 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of Templates: time 0.003042/0.01159, allocations: 1.577 MB / 0.8868 GB, free: 13.18 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.9944603950716555]