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.001094/0.001094, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001647/0.002741, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008558/0.0008558, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.001992, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9328/0.9328, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08227/1.015, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.775/1.775, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4587/2.234, allocations: 123.3 MB / 0.7283 GB, free: 5.719 MB / 0.698 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.663e-06/1.663e-06, allocations: 0 / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.811e-05, allocations: 5.891 kB / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002796/0.002814, allocations: 1.802 MB / 0.7314 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003931, allocations: 0.7695 MB / 0.7322 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.003986, allocations: 5.406 kB / 0.7322 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.004024, allocations: 11.81 kB / 0.7322 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.00409, allocations: 21.95 kB / 0.7322 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.004361, allocations: 98.27 kB / 0.7323 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.004503, allocations: 111.8 kB / 0.7324 GB, free: 1.598 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.004605, allocations: 37.86 kB / 0.7325 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.004732, allocations: 68.56 kB / 0.7325 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.972e-05/0.004802, allocations: 39.88 kB / 0.7326 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.004823, allocations: 12.5 kB / 0.7326 GB, free: 1.441 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.005112, allocations: 124.4 kB / 0.7327 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.005139, allocations: 20.84 kB / 0.7327 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.005172, allocations: 23.94 kB / 0.7327 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.005401, allocations: 131.5 kB / 0.7329 GB, free: 1.148 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.438e-05/0.005416, allocations: 4.812 kB / 0.7329 GB, free: 1.145 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005416, allocations: 0 / 0.7329 GB, free: 1.145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.00543, allocations: 5.219 kB / 0.7329 GB, free: 1.141 MB / 0.698 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.0005138/0.005944, allocations: 352.5 kB / 0.7332 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.00598, allocations: 11.97 kB / 0.7332 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.00603, allocations: 22.64 kB / 0.7332 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.006152, allocations: 125.6 kB / 0.7334 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.00617, allocations: 8.375 kB / 0.7334 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.006192, allocations: 16.36 kB / 0.7334 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.006396, allocations: 109.9 kB / 0.7335 GB, free: 468 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.006404, allocations: 192 / 0.7335 GB, free: 468 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.006417, allocations: 4.875 kB / 0.7335 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.006427, allocations: 9.562 kB / 0.7335 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.055e-05/0.006487, allocations: 19.98 kB / 0.7335 GB, free: 436 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.00687, allocations: 232 kB / 0.7338 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.007045, allocations: 67.44 kB / 0.7338 GB, free: 112 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.007081, allocations: 16.86 kB / 0.7338 GB, free: 92 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.007235, allocations: 37.22 kB / 0.7339 GB, free: 56 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.007258, allocations: 40.25 kB / 0.7339 GB, free: 8 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.00726, allocations: 0 / 0.7339 GB, free: 8 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001689/0.007428, allocations: 69.95 kB / 0.734 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.007459, allocations: 55.34 kB / 0.734 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.007537, allocations: 128.1 kB / 0.7341 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.007551, allocations: 26.92 kB / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.007605, allocations: 112.2 kB / 0.7343 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.007632, allocations: 23.75 kB / 0.7343 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.007676, allocations: 26.34 kB / 0.7343 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.007772, allocations: 322.8 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.007793, allocations: 9.109 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.007817, allocations: 16.03 kB / 0.7347 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.00787, allocations: 28.78 kB / 0.7347 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007872, allocations: 0.6562 kB / 0.7347 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.818e-05/0.00796, allocations: 61.67 kB / 0.7347 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.007974, allocations: 4.781 kB / 0.7348 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.00798, allocations: 7.938 kB / 0.7348 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.007992, allocations: 1.375 kB / 0.7348 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.008084, allocations: 23.92 kB / 0.7348 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.008088, allocations: 3.984 kB / 0.7348 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.008129, allocations: 8.547 kB / 0.7348 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.008136, allocations: 5.219 kB / 0.7348 GB, free: 15.03 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.592e-05/0.008202, allocations: 113.8 kB / 0.7349 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.008228, allocations: 8 kB / 0.7349 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.008348, allocations: 76.09 kB / 0.735 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.00835, allocations: 0 / 0.735 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.008352, allocations: 0 / 0.735 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.008355, allocations: 0 / 0.735 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.0085, allocations: 114.4 kB / 0.7351 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.008502, allocations: 0 / 0.7351 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.008574, allocations: 20.73 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.0086, allocations: 12.52 kB / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.008603, allocations: 4 kB / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.008609, allocations: 1.625 kB / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.008611, allocations: 0 / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.008612, allocations: 0 / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.008741, allocations: 167.4 kB / 0.7353 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.008754, allocations: 1.281 kB / 0.7353 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.008828, allocations: 11.98 kB / 0.7353 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.00887, allocations: 11.97 kB / 0.7353 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.008875, allocations: 1.25 kB / 0.7353 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.548e-05/0.0089, allocations: 27.94 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.0089, allocations: 0 / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002202/0.00912, allocations: 27.94 kB / 0.7354 GB, free: 14.4 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.0001564/0.009277, allocations: 106.6 kB / 0.7355 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.009387, allocations: 40.78 kB / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.009394, allocations: 1.031 kB / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.009447, allocations: 33.53 kB / 0.7355 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.009723, allocations: 95.11 kB / 0.7356 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.01044, allocations: 220.6 kB / 0.7358 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.01076, allocations: 63.55 kB / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.934e-05/0.01081, allocations: 10.89 kB / 0.7359 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/0.0109, allocations: 63.36 kB / 0.736 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.0109, allocations: 0 / 0.736 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of Templates: time 0.003395/0.01429, allocations: 1.558 MB / 0.7375 GB, free: 12.25 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6308295372873545]