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.002156/0.002156, allocations: 81.42 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002693/0.002693, allocations: 163.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.641/1.641, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 3.194/3.194, allocations: 389 MB / 0.633 GB, free: 1.027 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.265e-06/2.265e-06, allocations: 0 / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.891e-05/4.118e-05, allocations: 2.281 kB / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003524/0.003565, allocations: 1.706 MB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.004986, allocations: 0.736 MB / 1.003 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.00505, allocations: 4 kB / 1.003 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/0.005092, allocations: 11.86 kB / 1.003 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.126e-05/0.005173, allocations: 27.73 kB / 1.003 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.005619, allocations: 99.62 kB / 1.003 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.005773, allocations: 119.5 kB / 1.003 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.005905, allocations: 33.27 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.006016, allocations: 55.89 kB / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.006105, allocations: 47.81 kB / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.00613, allocations: 8 kB / 1.003 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.006452, allocations: 119.8 kB / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.006482, allocations: 23.91 kB / 1.003 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.006532, allocations: 31.92 kB / 1.003 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.006876, allocations: 183.4 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.00688, allocations: 4 kB / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.673e-06/0.006881, allocations: 0 / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.006887, allocations: 0 / 1.003 GB, free: 4.07 MB / 0.9512 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.0007515/0.007638, allocations: 369.6 kB / 1.004 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.00768, allocations: 11.98 kB / 1.004 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.007731, allocations: 12.84 kB / 1.004 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.007877, allocations: 125.7 kB / 1.004 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.007896, allocations: 8.375 kB / 1.004 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.007919, allocations: 16.36 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.008278, allocations: 121.9 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.00829, allocations: 192 / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.008309, allocations: 4.375 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.00832, allocations: 7.938 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.008717, allocations: 115.9 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.00929, allocations: 308.2 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.00974, allocations: 98.59 kB / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.00996, allocations: 60.81 kB / 1.004 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.01022, allocations: 47.91 kB / 1.005 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.01026, allocations: 34.56 kB / 1.005 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.01026, allocations: 0 / 1.005 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0007238/0.01099, allocations: 181.5 kB / 1.005 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.01103, allocations: 55.41 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.01117, allocations: 129.8 kB / 1.005 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.01119, allocations: 29.64 kB / 1.005 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.01129, allocations: 112.2 kB / 1.005 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.01133, allocations: 31.73 kB / 1.005 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.01138, allocations: 17.72 kB / 1.005 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.01154, allocations: 322.8 kB / 1.005 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.01173, allocations: 39.97 kB / 1.005 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.01191, allocations: 47.95 kB / 1.005 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.01226, allocations: 101.3 kB / 1.006 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01226, allocations: 3.938 kB / 1.006 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000428/0.01269, allocations: 145.5 kB / 1.006 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.01271, allocations: 4 kB / 1.006 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01271, allocations: 0 / 1.006 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.01273, allocations: 0 / 1.006 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.01289, allocations: 27.97 kB / 1.006 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.01289, allocations: 0 / 1.006 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.013, allocations: 19.86 kB / 1.006 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.013, allocations: 0 / 1.006 GB, free: 1.336 MB / 0.9512 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 0.0001181/0.01312, allocations: 118.4 kB / 1.006 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.01318, allocations: 15.94 kB / 1.006 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.01369, allocations: 150 kB / 1.006 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.01369, allocations: 4 kB / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.0137, allocations: 4 kB / 1.006 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01371, allocations: 3.938 kB / 1.006 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.01391, allocations: 149.2 kB / 1.006 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01391, allocations: 0 / 1.006 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.01405, allocations: 23.92 kB / 1.006 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.01405, allocations: 7.984 kB / 1.006 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.01406, allocations: 0 / 1.006 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01406, allocations: 0 / 1.006 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01407, allocations: 0 / 1.006 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.01455, allocations: 243.5 kB / 1.006 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.01459, allocations: 11.95 kB / 1.006 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.0146, allocations: 96 / 1.006 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.01473, allocations: 19.91 kB / 1.006 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.01479, allocations: 11.98 kB / 1.007 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.01479, allocations: 0 / 1.007 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.774e-05/0.01487, allocations: 101.9 kB / 1.007 GB, free: 444 kB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01487, allocations: 0 / 1.007 GB, free: 444 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002788/0.01515, allocations: 35.88 kB / 1.007 GB, free: 408 kB / 0.9512 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.0002159/0.01537, allocations: 123.2 kB / 1.007 GB, free: 272 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004327/0.0158, allocations: 99.86 kB / 1.007 GB, free: 172 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0158, allocations: 0 / 1.007 GB, free: 172 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.01599, allocations: 55.89 kB / 1.007 GB, free: 116 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.01638, allocations: 27.92 kB / 1.007 GB, free: 88 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.0169, allocations: 209.7 kB / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.01701, allocations: 84.33 kB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.56e-05/0.01707, allocations: 11.98 kB / 1.007 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.01711, allocations: 16.5 kB / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of SimCode: time 4.1e-07/0.01711, allocations: 0 / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of Templates: time 0.004897/0.02201, allocations: 1.451 MB / 1.009 GB, free: 14.3 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.45557465031743]