Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 192.2 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.91 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8639/0.8659, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003103/0.869, allocations: 1.734 MB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.8703, allocations: 0.7454 MB / 1.277 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.8703, allocations: 0 / 1.277 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.893e-05/0.8704, allocations: 7.875 kB / 1.277 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.59e-05/0.8705, allocations: 27.78 kB / 1.277 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.8709, allocations: 87.72 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.8711, allocations: 123.5 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.8713, allocations: 29.05 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.344e-05/0.8713, allocations: 43.84 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.8714, allocations: 51.77 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.8715, allocations: 11.98 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.8717, allocations: 103.9 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.8717, allocations: 27.92 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.628e-05/0.8718, allocations: 55.64 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.8721, allocations: 154.2 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8721, allocations: 0 / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8721, allocations: 3.938 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.8721, allocations: 0 / 1.277 GB, free: 1.32 MB / 0.9669 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.0007521/0.8728, allocations: 442.8 kB / 1.278 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.8729, allocations: 12.03 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.8729, allocations: 16.84 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.8731, allocations: 183 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.8731, allocations: 8.375 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.8732, allocations: 12.31 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.8735, allocations: 128 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.8735, allocations: 0 / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.8736, allocations: 4 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.8736, allocations: 8 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.8739, allocations: 107.9 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006863/0.8746, allocations: 388.5 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.875, allocations: 110.5 kB / 1.279 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.8752, allocations: 60.86 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006902/0.8759, allocations: 0.5583 MB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.8759, allocations: 34.56 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.8759, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0007314/0.8767, allocations: 193.4 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.8767, allocations: 55.41 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.8769, allocations: 165.6 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.877, allocations: 25.7 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/0.8771, allocations: 100.1 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.8771, allocations: 39.59 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.8772, allocations: 25.66 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.8774, allocations: 322.8 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.8775, allocations: 43.95 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.8777, allocations: 51.91 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.8781, allocations: 92.78 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.8781, allocations: 0 / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004047/0.8785, allocations: 149.5 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.8785, allocations: 11.88 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.8785, allocations: 4 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.8785, allocations: 0 / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.8787, allocations: 19.98 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8787, allocations: 0 / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.8788, allocations: 23.86 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.8788, allocations: 4 kB / 1.28 GB, free: 13.63 MB / 0.9825 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.0001263/0.8789, allocations: 125.8 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.879, allocations: 15.84 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/0.8795, allocations: 155.3 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.8795, allocations: 0 / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8795, allocations: 8.031 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8795, allocations: 3.938 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.8798, allocations: 209.6 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8798, allocations: 4 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.8799, allocations: 19.98 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.8799, allocations: 3.938 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.8799, allocations: 4 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8799, allocations: 0 / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8799, allocations: 0 / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.8804, allocations: 243.3 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.361e-05/0.8805, allocations: 96.98 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.8805, allocations: 7.938 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.8807, allocations: 11.98 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.8807, allocations: 11.98 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.8807, allocations: 8 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001166/0.8808, allocations: 124.9 kB / 1.281 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8808, allocations: 0 / 1.281 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002573/0.8811, allocations: 24 kB / 1.281 GB, free: 12.47 MB / 0.9825 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.0002191/0.8813, allocations: 111.7 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.8818, allocations: 107.8 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8818, allocations: 0 / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.882, allocations: 55.91 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.8824, allocations: 28.38 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.883, allocations: 247.7 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.8834, allocations: 0.704 MB / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.383e-05/0.8835, allocations: 16.55 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.8835, allocations: 11.44 kB / 1.283 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.8835, allocations: 0 / 1.283 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of Templates: time 0.005211/0.8887, allocations: 1.649 MB / 1.284 GB, free: 9.508 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.862523119430989]