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.002269/0.002269, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002576/0.002576, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.678/1.678, allocations: 225.6 MB / 249.4 MB, free: 3.328 MB / 190.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.768/2.768, allocations: 476.7 MB / 0.7628 GB, free: 15.33 MB / 0.6075 GB " [Timeout remaining time 176] 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.002019/0.002019, allocations: 71.89 kB / 1.107 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 168.7 MB / 1.272 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003227/1.04, allocations: 1.746 MB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001288/1.042, allocations: 0.7533 MB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/1.042, allocations: 4.969 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.834e-05/1.042, allocations: 11.53 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/1.042, allocations: 19.97 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/1.042, allocations: 97.48 kB / 1.275 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/1.043, allocations: 112.2 kB / 1.275 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/1.043, allocations: 26.33 kB / 1.275 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.922e-05/1.043, allocations: 42.12 kB / 1.275 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.049e-05/1.043, allocations: 52.83 kB / 1.275 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/1.043, allocations: 9.281 kB / 1.275 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/1.043, allocations: 106.2 kB / 1.275 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/1.043, allocations: 28.7 kB / 1.275 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/1.043, allocations: 52.5 kB / 1.275 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/1.043, allocations: 159 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.043, allocations: 0 / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/1.043, allocations: 0.5625 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.745e-06/1.043, allocations: 0 / 1.275 GB, free: 5.891 MB / 0.9981 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.0006593/1.044, allocations: 440.5 kB / 1.276 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/1.044, allocations: 10.16 kB / 1.276 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/1.044, allocations: 19.78 kB / 1.276 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/1.044, allocations: 179.7 kB / 1.276 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/1.044, allocations: 8.094 kB / 1.276 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/1.044, allocations: 10.47 kB / 1.276 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/1.045, allocations: 128.2 kB / 1.276 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/1.045, allocations: 0.875 kB / 1.276 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/1.045, allocations: 0.875 kB / 1.276 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/1.045, allocations: 1.938 kB / 1.276 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/1.045, allocations: 116.6 kB / 1.276 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000577/1.046, allocations: 393.7 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/1.046, allocations: 106.9 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/1.046, allocations: 62.98 kB / 1.277 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003869/1.047, allocations: 0.5553 MB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/1.047, allocations: 35.28 kB / 1.277 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/1.047, allocations: 5.031 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0006617/1.047, allocations: 193.9 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/1.047, allocations: 52.97 kB / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/1.048, allocations: 167 kB / 1.278 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/1.048, allocations: 30.48 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/1.048, allocations: 108.2 kB / 1.278 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/1.048, allocations: 32.41 kB / 1.278 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/1.048, allocations: 21.27 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.395e-05/1.048, allocations: 320.9 kB / 1.278 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/1.048, allocations: 42.97 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/1.048, allocations: 49.03 kB / 1.278 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/1.048, allocations: 101.6 kB / 1.278 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.048, allocations: 0.5625 kB / 1.278 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000416/1.049, allocations: 143.8 kB / 1.278 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/1.049, allocations: 9.5 kB / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.049, allocations: 0 / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/1.049, allocations: 1.438 kB / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/1.049, allocations: 24.77 kB / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/1.049, allocations: 4.875 kB / 1.278 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/1.049, allocations: 20.8 kB / 1.278 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/1.049, allocations: 5.688 kB / 1.278 GB, free: 3.148 MB / 0.9981 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 8.545e-05/1.049, allocations: 117.9 kB / 1.278 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/1.049, allocations: 17.78 kB / 1.279 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005067/1.05, allocations: 155.9 kB / 1.279 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.05, allocations: 3.969 kB / 1.279 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.05, allocations: 0 / 1.279 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.05, allocations: 4.969 kB / 1.279 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/1.05, allocations: 209.2 kB / 1.279 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.05, allocations: 3.938 kB / 1.279 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/1.05, allocations: 27.33 kB / 1.279 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/1.05, allocations: 5 kB / 1.279 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/1.05, allocations: 1.031 kB / 1.279 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.05, allocations: 1.156 kB / 1.279 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.05, allocations: 0 / 1.279 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/1.051, allocations: 243.6 kB / 1.279 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/1.051, allocations: 96.5 kB / 1.279 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/1.051, allocations: 5.516 kB / 1.279 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/1.051, allocations: 11.97 kB / 1.279 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/1.051, allocations: 10.86 kB / 1.279 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/1.051, allocations: 5.875 kB / 1.279 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.682e-05/1.051, allocations: 121.3 kB / 1.279 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/1.051, allocations: 3.938 kB / 1.279 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002822/1.052, allocations: 25.41 kB / 1.279 GB, free: 2.328 MB / 0.9981 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.0002004/1.052, allocations: 109.7 kB / 1.28 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005657/1.052, allocations: 108.9 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.052, allocations: 0.875 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/1.053, allocations: 54.47 kB / 1.28 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/1.053, allocations: 38.8 kB / 1.28 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/1.054, allocations: 237.3 kB / 1.28 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/1.054, allocations: 0.7039 MB / 1.281 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.462e-05/1.054, allocations: 17.98 kB / 1.281 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/1.054, allocations: 13.38 kB / 1.281 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.054, allocations: 0 / 1.281 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of Templates: time 0.00613/1.06, allocations: 1.642 MB / 1.282 GB, free: 1.156 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.459594062529504]