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.001189/0.001189, allocations: 109 kB / 17.54 MB, free: 4.746 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.001204/0.001204, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.269/1.269, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] 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.479/2.479, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 63.89 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.7444, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002438/0.7468, allocations: 1.753 MB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000967/0.7478, allocations: 0.7421 MB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.7478, allocations: 1.469 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.248e-05/0.7479, allocations: 13.83 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.238e-05/0.7479, allocations: 17.61 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.7482, allocations: 101.3 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.7484, allocations: 111.8 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.7485, allocations: 22.08 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.941e-05/0.7485, allocations: 46.36 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.7486, allocations: 54.06 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.7486, allocations: 9.188 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.7488, allocations: 105.5 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.7488, allocations: 24.17 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.7489, allocations: 52.09 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.7491, allocations: 156.6 kB / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7491, allocations: 7.938 kB / 1.275 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7491, allocations: 3.938 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.7491, allocations: 0.9688 kB / 1.275 GB, free: 5.66 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.0005159/0.7496, allocations: 443.3 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.7497, allocations: 9.125 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.7497, allocations: 45.55 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.7497, allocations: 19.06 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.033e-05/0.7498, allocations: 174.7 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.7498, allocations: 8.156 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.7498, allocations: 8.172 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.7501, allocations: 127.7 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.7501, allocations: 0 / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.7501, allocations: 4.812 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7501, allocations: 2.156 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.7505, allocations: 113 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.7509, allocations: 395.8 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.7512, allocations: 104.1 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.7514, allocations: 58.09 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.7517, allocations: 0.5603 MB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.7517, allocations: 31.91 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.7517, allocations: 7.984 kB / 1.277 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0005926/0.7523, allocations: 193 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.7523, allocations: 54.45 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.7524, allocations: 166.5 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.7524, allocations: 25.7 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.7524, allocations: 107.8 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.7525, allocations: 34.33 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.7525, allocations: 19.5 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.7525, allocations: 330.5 kB / 1.277 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.7527, allocations: 43.66 kB / 1.277 GB, free: 3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.7528, allocations: 51.22 kB / 1.278 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.7532, allocations: 98.48 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7532, allocations: 0.875 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003578/0.7535, allocations: 142.2 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.7535, allocations: 13.25 kB / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7535, allocations: 0.5625 kB / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.7535, allocations: 0.9375 kB / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.7537, allocations: 24.02 kB / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.7537, allocations: 1.812 kB / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.65e-05/0.7538, allocations: 16.08 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.7538, allocations: 2.719 kB / 1.278 GB, free: 2.879 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 5.283e-05/0.7539, allocations: 122.5 kB / 1.278 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.7539, allocations: 17.5 kB / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.7543, allocations: 156.7 kB / 1.278 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.7543, allocations: 1.031 kB / 1.278 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7543, allocations: 2.938 kB / 1.278 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7543, allocations: 4 kB / 1.278 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.7545, allocations: 219.7 kB / 1.278 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7545, allocations: 0 / 1.278 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.7546, allocations: 25.38 kB / 1.278 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.7546, allocations: 4.906 kB / 1.278 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.7546, allocations: 0.6562 kB / 1.278 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.7546, allocations: 0.8125 kB / 1.278 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7546, allocations: 192 / 1.278 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.755, allocations: 250.5 kB / 1.279 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.755, allocations: 95.09 kB / 1.279 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.755, allocations: 5.031 kB / 1.279 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.7552, allocations: 11.27 kB / 1.279 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.7552, allocations: 7.984 kB / 1.279 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.7552, allocations: 5.906 kB / 1.279 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.7553, allocations: 123.7 kB / 1.279 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.7553, allocations: 0.9062 kB / 1.279 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002345/0.7555, allocations: 21.05 kB / 1.279 GB, free: 2.055 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.0005623/0.7561, allocations: 0.7947 MB / 1.28 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.7565, allocations: 101.7 kB / 1.28 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.7565, allocations: 0 / 1.28 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.7566, allocations: 62.78 kB / 1.28 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.757, allocations: 29.11 kB / 1.28 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.7591, allocations: 1.776 MB / 1.282 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.7593, allocations: 0.7006 MB / 1.282 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.777e-05/0.7594, allocations: 12.14 kB / 1.282 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.7595, allocations: 32.27 kB / 1.282 GB, free: 15.2 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.7595, allocations: 0.6875 kB / 1.282 GB, free: 15.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.7851, allocations: 3.147 MB / 1.285 GB, free: 14.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.803, allocations: 8.656 kB / 1.285 GB, free: 14.7 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 420.0] 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/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: 13.009990904000006]