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.0009538/0.0009538, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002155, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007422/0.0007422, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.001812, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.039/1.039, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1444/1.184, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.632/2.632, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2918/2.923, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 2.204e-06/2.204e-06, allocations: 0 / 0.8183 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.08e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.004147/0.004177, allocations: 1.803 MB / 0.8201 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.005656, allocations: 0.7827 MB / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.005742, allocations: 0 / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.368e-05/0.005795, allocations: 7.875 kB / 0.8209 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.341e-05/0.005879, allocations: 23.78 kB / 0.8209 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.00627, allocations: 95.52 kB / 0.821 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.006447, allocations: 115.5 kB / 0.8211 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.006586, allocations: 33.95 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.006739, allocations: 75.78 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.006814, allocations: 31.89 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.006838, allocations: 12 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003644/0.007202, allocations: 123.9 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.007234, allocations: 19.88 kB / 0.8214 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.007283, allocations: 23.94 kB / 0.8214 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.007577, allocations: 139.5 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.26e-05/0.007599, allocations: 0 / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.693e-06/0.007601, allocations: 0 / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.201e-05/0.007623, allocations: 4 kB / 0.8215 GB, free: 15.57 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.0006566/0.00828, allocations: 360 kB / 0.8219 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.008323, allocations: 8.625 kB / 0.8219 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.008373, allocations: 16.92 kB / 0.8219 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.008497, allocations: 125.6 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.008519, allocations: 8.375 kB / 0.822 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.008536, allocations: 8.375 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.008773, allocations: 101.9 kB / 0.8221 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.008783, allocations: 192 / 0.8221 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.008798, allocations: 8.375 kB / 0.8221 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.00881, allocations: 7.938 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.23e-05/0.008882, allocations: 19.98 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.009381, allocations: 243.8 kB / 0.8224 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.009613, allocations: 70.47 kB / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.009655, allocations: 20.86 kB / 0.8225 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002078/0.009863, allocations: 47.95 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.009892, allocations: 30.56 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 3.216e-06/0.009895, allocations: 0 / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0002009/0.0101, allocations: 73.61 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.01014, allocations: 51.41 kB / 0.8227 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/0.01024, allocations: 124.9 kB / 0.8228 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.01025, allocations: 25.7 kB / 0.8228 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.01031, allocations: 112.2 kB / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.01035, allocations: 31.73 kB / 0.823 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.0104, allocations: 25.64 kB / 0.823 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.01051, allocations: 322.8 kB / 0.8233 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.01053, allocations: 11.98 kB / 0.8233 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.01054, allocations: 8 kB / 0.8233 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.0106, allocations: 28.78 kB / 0.8233 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.0106, allocations: 0 / 0.8233 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.544e-05/0.01069, allocations: 61.61 kB / 0.8234 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.0107, allocations: 8 kB / 0.8234 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01071, allocations: 0 / 0.8234 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.01072, allocations: 0 / 0.8234 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/0.01081, allocations: 19.98 kB / 0.8234 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.01081, allocations: 0 / 0.8234 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.01085, allocations: 19.98 kB / 0.8234 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.01085, allocations: 0 / 0.8234 GB, free: 13.45 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 7.297e-05/0.01093, allocations: 113.8 kB / 0.8236 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.01095, allocations: 12 kB / 0.8236 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.01108, allocations: 74.69 kB / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.01108, allocations: 0 / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.01108, allocations: 0 / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01109, allocations: 0 / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.01121, allocations: 101.7 kB / 0.8237 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01121, allocations: 4 kB / 0.8237 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.01127, allocations: 23.98 kB / 0.8238 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.0113, allocations: 11.95 kB / 0.8238 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.0113, allocations: 0 / 0.8238 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.0113, allocations: 0 / 0.8238 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01131, allocations: 3.938 kB / 0.8238 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01131, allocations: 0 / 0.8238 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.01142, allocations: 163.5 kB / 0.8239 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.01143, allocations: 4 kB / 0.8239 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.157e-05/0.01148, allocations: 7.984 kB / 0.8239 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.01151, allocations: 15.92 kB / 0.824 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.01152, allocations: 4 kB / 0.824 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.284e-05/0.01154, allocations: 24.84 kB / 0.824 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01154, allocations: 0 / 0.824 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001578/0.0117, allocations: 27.94 kB / 0.824 GB, free: 12.81 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.0001629/0.01186, allocations: 104.3 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.192e-05/0.01195, allocations: 36.78 kB / 0.8241 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.01196, allocations: 4 kB / 0.8242 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.01199, allocations: 24.84 kB / 0.8242 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.01221, allocations: 47.78 kB / 0.8242 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007704/0.01298, allocations: 210 kB / 0.8244 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.212e-05/0.01304, allocations: 71.2 kB / 0.8245 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.816e-05/0.0131, allocations: 7.984 kB / 0.8245 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.84e-05/0.01319, allocations: 63.38 kB / 0.8246 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of SimCode: time 8.42e-07/0.01319, allocations: 0 / 0.8246 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.003638/0.01683, allocations: 1.548 MB / 0.8261 GB, free: 10.68 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.ref.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.726228157058358]