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.0009724/0.0009724, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001026/0.001026, allocations: 181 kB / 23.36 MB, free: 1.133 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.9795/0.9795, allocations: 177.1 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.475/2.475, allocations: 438.8 MB / 0.6826 GB, free: 13.55 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.653e-06/1.653e-06, allocations: 0 / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.239e-05, allocations: 4.562 kB / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002346/0.002368, allocations: 1.786 MB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.003371, allocations: 0.7787 MB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.003429, allocations: 0 / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.003463, allocations: 11.86 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.27e-05/0.003536, allocations: 31.66 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.003843, allocations: 83.66 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.003968, allocations: 123.5 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.00405, allocations: 30.23 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.671e-05/0.004147, allocations: 63.88 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.004196, allocations: 31.89 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.004213, allocations: 8 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.004462, allocations: 127.9 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.004482, allocations: 23.92 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.004513, allocations: 35.89 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.004695, allocations: 147.5 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.004697, allocations: 0 / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.32e-07/0.004698, allocations: 0 / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.004701, allocations: 4 kB / 0.8419 GB, free: 10.79 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.000363/0.005064, allocations: 343.8 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.005096, allocations: 8.625 kB / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.005129, allocations: 20.92 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.087e-05/0.00521, allocations: 125.6 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.005222, allocations: 8.375 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.005233, allocations: 12.36 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.005371, allocations: 99.5 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.005378, allocations: 4.188 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.005387, allocations: 4.375 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.005394, allocations: 7.938 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.325e-05/0.005437, allocations: 23.23 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.005755, allocations: 239.8 kB / 0.8427 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.005909, allocations: 62.48 kB / 0.8428 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.00594, allocations: 24.84 kB / 0.8428 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.006079, allocations: 47.95 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.006101, allocations: 34.56 kB / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.006103, allocations: 0 / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001365/0.006239, allocations: 73.61 kB / 0.843 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.006264, allocations: 51.41 kB / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.184e-05/0.006326, allocations: 129 kB / 0.8431 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.006336, allocations: 25.7 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.006378, allocations: 108.3 kB / 0.8433 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.006404, allocations: 31.69 kB / 0.8433 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.006436, allocations: 21.7 kB / 0.8433 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.006516, allocations: 326.8 kB / 0.8436 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.006532, allocations: 7.984 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/0.006549, allocations: 11.94 kB / 0.8436 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.006592, allocations: 29.41 kB / 0.8437 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006594, allocations: 0 / 0.8437 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.281e-05/0.006667, allocations: 65.55 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.00668, allocations: 4 kB / 0.8437 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.006684, allocations: 0 / 0.8437 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.006696, allocations: 4 kB / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.006765, allocations: 19.98 kB / 0.8438 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.006767, allocations: 0 / 0.8438 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.0068, allocations: 8 kB / 0.8438 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.006807, allocations: 11.91 kB / 0.8438 GB, free: 8.676 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 5.847e-05/0.006866, allocations: 121.8 kB / 0.8439 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.006885, allocations: 4 kB / 0.8439 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.006986, allocations: 74.03 kB / 0.844 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.00699, allocations: 4 kB / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.006991, allocations: 0 / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006993, allocations: 0 / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.0071, allocations: 105.8 kB / 0.8441 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007101, allocations: 0 / 0.8441 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.007154, allocations: 23.92 kB / 0.8441 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.007156, allocations: 0 / 0.8441 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.007162, allocations: 4 kB / 0.8441 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.007163, allocations: 0 / 0.8441 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007164, allocations: 0 / 0.8441 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.429e-05/0.007258, allocations: 163.4 kB / 0.8442 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.00728, allocations: 11.89 kB / 0.8443 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.007289, allocations: 0 / 0.8443 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.007336, allocations: 15.98 kB / 0.8443 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.007368, allocations: 11.97 kB / 0.8443 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.007372, allocations: 0 / 0.8443 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.788e-05/0.00739, allocations: 27.66 kB / 0.8443 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00739, allocations: 0 / 0.8443 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001525/0.007542, allocations: 27.94 kB / 0.8443 GB, free: 8.047 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.0001125/0.007655, allocations: 96.39 kB / 0.8444 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.953e-05/0.007734, allocations: 36.78 kB / 0.8445 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.007741, allocations: 4 kB / 0.8445 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.671e-05/0.007768, allocations: 24.8 kB / 0.8445 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.007944, allocations: 31.91 kB / 0.8445 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.008243, allocations: 209.4 kB / 0.8447 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.188e-05/0.008285, allocations: 63.34 kB / 0.8448 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.008325, allocations: 8 kB / 0.8448 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.008396, allocations: 67.36 kB / 0.8449 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/0.008396, allocations: 0 / 0.8449 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of Templates: time 0.003228/0.01162, allocations: 1.509 MB / 0.8463 GB, free: 5.965 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 -s gbode -gbm=radauIIA3 -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.2091196440160275]