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.0009112/0.0009112, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008925/0.0008925, allocations: 177 kB / 23.36 MB, free: 1.129 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.885/0.885, allocations: 177.2 MB / 203.8 MB, free: 5.484 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 2.469/2.469, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.713e-06/1.713e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.519e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003003/0.003028, allocations: 1.75 MB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.004269, allocations: 0.7826 MB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.004324, allocations: 0 / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.148e-05/0.004366, allocations: 7.875 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.397e-05/0.00445, allocations: 23.78 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.004844, allocations: 107.6 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.004991, allocations: 115.5 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.005088, allocations: 30.22 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.005203, allocations: 63.88 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.005268, allocations: 39.88 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.005288, allocations: 12 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.005547, allocations: 107.9 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.005573, allocations: 23.92 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.005611, allocations: 35.89 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.005834, allocations: 147.5 kB / 0.8418 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005835, allocations: 4 kB / 0.8418 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005836, allocations: 0 / 0.8418 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.00584, allocations: 3.984 kB / 0.8418 GB, free: 10.91 MB / 0.8073 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.000409/0.006249, allocations: 339.9 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.006285, allocations: 12.62 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.006322, allocations: 12.92 kB / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.532e-05/0.006417, allocations: 125.6 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.006432, allocations: 8.375 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.006452, allocations: 16.31 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.006619, allocations: 98.83 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.006627, allocations: 192 / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.006639, allocations: 4.375 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.006645, allocations: 11.94 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.006704, allocations: 23.98 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.007052, allocations: 243.8 kB / 0.8426 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.007221, allocations: 58.55 kB / 0.8427 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.007261, allocations: 24.78 kB / 0.8427 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.007424, allocations: 43.97 kB / 0.8428 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.00745, allocations: 30.56 kB / 0.8428 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.007451, allocations: 4 kB / 0.8428 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001601/0.007611, allocations: 73.61 kB / 0.8429 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.007641, allocations: 51.41 kB / 0.8429 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.007721, allocations: 130.7 kB / 0.843 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.007734, allocations: 25.7 kB / 0.8431 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.007781, allocations: 100.3 kB / 0.8432 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.007811, allocations: 35.69 kB / 0.8432 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.007852, allocations: 17.7 kB / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.007946, allocations: 322.8 kB / 0.8435 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.007972, allocations: 15.98 kB / 0.8435 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/0.007993, allocations: 8 kB / 0.8435 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.19e-05/0.008055, allocations: 41.27 kB / 0.8436 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008057, allocations: 0 / 0.8436 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.105e-05/0.008148, allocations: 57.66 kB / 0.8436 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.00816, allocations: 11.94 kB / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.008164, allocations: 0 / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.008176, allocations: 0 / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.008261, allocations: 19.98 kB / 0.8437 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.008264, allocations: 0 / 0.8437 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.008308, allocations: 7.984 kB / 0.8437 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.008316, allocations: 12 kB / 0.8437 GB, free: 8.801 MB / 0.8073 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.844e-05/0.008384, allocations: 109.8 kB / 0.8438 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.008413, allocations: 4 kB / 0.8438 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.008539, allocations: 86.02 kB / 0.8439 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.00854, allocations: 0 / 0.8439 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008542, allocations: 0 / 0.8439 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.008545, allocations: 3.938 kB / 0.8439 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.008699, allocations: 101.7 kB / 0.844 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.0087, allocations: 0 / 0.844 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.884e-05/0.008769, allocations: 23.98 kB / 0.844 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.008771, allocations: 0 / 0.844 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.008779, allocations: 4 kB / 0.844 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008781, allocations: 0 / 0.844 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008782, allocations: 0 / 0.844 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.008903, allocations: 159.4 kB / 0.8442 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.008932, allocations: 11.89 kB / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.008944, allocations: 0 / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.009021, allocations: 15.98 kB / 0.8442 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.009051, allocations: 7.984 kB / 0.8442 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.009055, allocations: 4 kB / 0.8442 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.783e-05/0.009083, allocations: 35.16 kB / 0.8442 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009083, allocations: 0 / 0.8442 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002537/0.009337, allocations: 27.94 kB / 0.8443 GB, free: 8.172 MB / 0.8073 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.0001329/0.00947, allocations: 92.41 kB / 0.8443 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.268e-05/0.009563, allocations: 36.78 kB / 0.8444 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.009567, allocations: 4 kB / 0.8444 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.824e-05/0.009605, allocations: 20.84 kB / 0.8444 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.009833, allocations: 36.5 kB / 0.8444 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.01017, allocations: 204.7 kB / 0.8446 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.681e-05/0.01021, allocations: 63.34 kB / 0.8447 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.871e-05/0.01026, allocations: 8 kB / 0.8447 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.549e-05/0.01035, allocations: 71.34 kB / 0.8448 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.01035, allocations: 0 / 0.8448 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of Templates: time 0.004231/0.01458, allocations: 1.504 MB / 0.8462 GB, free: 6.105 MB / 0.8073 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: 5.210298089310527]