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.0009898/0.0009898, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.0009844/0.0009844, allocations: 161.4 kB / 24.17 MB, free: 324 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.9289/0.9289, allocations: 177.1 MB / 204.6 MB, free: 5.441 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.972/1.972, allocations: 377.9 MB / 0.624 GB, free: 8.379 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 4.478e-06/4.478e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.899e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003005/0.003024, allocations: 1.804 MB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.004323, allocations: 0.7671 MB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.004392, allocations: 0 / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.517e-05/0.004437, allocations: 15.8 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.004528, allocations: 24.12 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.004892, allocations: 95.64 kB / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.005042, allocations: 112.8 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.005149, allocations: 25.89 kB / 0.7629 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.005268, allocations: 71.8 kB / 0.7629 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.005331, allocations: 36.98 kB / 0.763 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.005351, allocations: 12 kB / 0.763 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.005656, allocations: 127.8 kB / 0.7631 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.005679, allocations: 20.83 kB / 0.7631 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.005718, allocations: 35.91 kB / 0.7632 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.005941, allocations: 148.2 kB / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005943, allocations: 0 / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/0.005945, allocations: 5.781 kB / 0.7633 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.005949, allocations: 0 / 0.7633 GB, free: 3.305 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.0004148/0.006364, allocations: 332.2 kB / 0.7636 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.006398, allocations: 12.53 kB / 0.7636 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.006439, allocations: 17.64 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.006542, allocations: 125.6 kB / 0.7638 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.006557, allocations: 9.312 kB / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.006569, allocations: 4.375 kB / 0.7638 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.006747, allocations: 112.6 kB / 0.7639 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.006755, allocations: 192 / 0.7639 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.006765, allocations: 384 / 0.7639 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.006775, allocations: 12.67 kB / 0.7639 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.152e-05/0.006837, allocations: 28.59 kB / 0.7639 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.007198, allocations: 233.4 kB / 0.7641 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.007361, allocations: 58.55 kB / 0.7642 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.0074, allocations: 19.05 kB / 0.7642 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.007558, allocations: 51.95 kB / 0.7643 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.007581, allocations: 38.48 kB / 0.7643 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.007582, allocations: 0.5 kB / 0.7643 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001645/0.007747, allocations: 73 kB / 0.7644 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.007781, allocations: 55.41 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.193e-05/0.007873, allocations: 130.6 kB / 0.7646 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.007888, allocations: 29.7 kB / 0.7646 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.007934, allocations: 104.2 kB / 0.7647 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.007965, allocations: 31.72 kB / 0.7647 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.008005, allocations: 17.72 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.008096, allocations: 326.8 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.008118, allocations: 4 kB / 0.765 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.008139, allocations: 8 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.575e-05/0.008194, allocations: 39.62 kB / 0.7651 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.008196, allocations: 0 / 0.7651 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.373e-05/0.00829, allocations: 57.69 kB / 0.7651 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.008302, allocations: 8 kB / 0.7652 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.008309, allocations: 4 kB / 0.7652 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.008322, allocations: 3.984 kB / 0.7652 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.527e-05/0.008407, allocations: 19.94 kB / 0.7652 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.00841, allocations: 1.594 kB / 0.7652 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.008452, allocations: 7.984 kB / 0.7652 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.00846, allocations: 4 kB / 0.7652 GB, free: 1.219 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 6.257e-05/0.008522, allocations: 116.5 kB / 0.7653 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.00855, allocations: 7.984 kB / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.00867, allocations: 74.05 kB / 0.7654 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.008672, allocations: 0 / 0.7654 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.008673, allocations: 0 / 0.7654 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.008677, allocations: 3.984 kB / 0.7654 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.008833, allocations: 104.5 kB / 0.7655 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.008835, allocations: 0 / 0.7655 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/0.008909, allocations: 19.98 kB / 0.7655 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008911, allocations: 0 / 0.7655 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.008918, allocations: 0 / 0.7655 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.00892, allocations: 4 kB / 0.7655 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008921, allocations: 0 / 0.7655 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.009041, allocations: 161.1 kB / 0.7657 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.009068, allocations: 11.89 kB / 0.7657 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.009082, allocations: 7.984 kB / 0.7657 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.009155, allocations: 13.47 kB / 0.7657 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.009189, allocations: 3.984 kB / 0.7657 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.009196, allocations: 4 kB / 0.7657 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.338e-05/0.009219, allocations: 24.11 kB / 0.7657 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009219, allocations: 0 / 0.7657 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002296/0.009449, allocations: 31.94 kB / 0.7658 GB, free: 0.6016 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.0001269/0.009576, allocations: 101 kB / 0.7659 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.588e-05/0.009672, allocations: 41.66 kB / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.009677, allocations: 0 / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.009719, allocations: 29.98 kB / 0.7659 GB, free: 432 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.009939, allocations: 24.86 kB / 0.7659 GB, free: 408 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.01028, allocations: 217.9 kB / 0.7662 GB, free: 164 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.391e-05/0.01032, allocations: 66.41 kB / 0.7662 GB, free: 80 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.867e-05/0.01037, allocations: 14.91 kB / 0.7662 GB, free: 68 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.01047, allocations: 67.44 kB / 0.7663 GB, free: 16 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.01047, allocations: 1.219 kB / 0.7663 GB, free: 16 MB / 0.7292 GB Notification: Performance of Templates: time 0.003837/0.0143, allocations: 1.506 MB / 0.7678 GB, free: 14.59 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 -s gbode -gbm=radauIIA3 -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.908206478692591]