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.001187/0.001187, allocations: 112.1 kB / 17.54 MB, free: 4.738 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.001142/0.001142, allocations: 186.7 kB / 20.71 MB, free: 1.582 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.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.156 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.467/2.467, 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.002096/0.002096, allocations: 71.89 kB / 1.107 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.754/0.7561, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.00232/0.7584, allocations: 1.746 MB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008952/0.7593, allocations: 0.7387 MB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.7594, allocations: 0.9062 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.445e-05/0.7594, allocations: 10.11 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.904e-05/0.7595, allocations: 24.38 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.7598, allocations: 94.23 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.7599, allocations: 114.5 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.76, allocations: 24.7 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.7601, allocations: 44.52 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.7601, allocations: 55.62 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.7601, allocations: 9.312 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.7603, allocations: 102.6 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.7604, allocations: 28.17 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.7604, allocations: 54.44 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.7606, allocations: 154.5 kB / 1.275 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7606, allocations: 0 / 1.275 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7606, allocations: 0 / 1.275 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.098e-06/0.7606, allocations: 1.094 kB / 1.275 GB, free: 5.656 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.0004829/0.7611, allocations: 448.9 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.7611, allocations: 13.03 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.7611, allocations: 44.27 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.7612, allocations: 21.64 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.776e-05/0.7612, allocations: 184.5 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.7613, allocations: 8.594 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.7613, allocations: 6.031 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.7615, allocations: 124.2 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7616, allocations: 0 / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.7616, allocations: 9.812 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.7616, allocations: 1.844 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.7619, allocations: 109.9 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.7623, allocations: 399 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.7626, allocations: 100.5 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.7628, allocations: 64.17 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.763, allocations: 0.5577 MB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.7631, allocations: 36.95 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.7631, allocations: 0 / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.000572/0.7636, allocations: 190 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.7637, allocations: 56.59 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.7638, allocations: 166.5 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.7638, allocations: 30.67 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.7638, allocations: 102.9 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.7638, allocations: 34.19 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.7639, allocations: 21.27 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.597e-05/0.7639, allocations: 327 kB / 1.277 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.764, allocations: 52.59 kB / 1.278 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.7642, allocations: 44.72 kB / 1.278 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.7645, allocations: 99.11 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7645, allocations: 0.7188 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003416/0.7648, allocations: 141.2 kB / 1.278 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.7648, allocations: 10.55 kB / 1.278 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.7648, allocations: 0 / 1.278 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.7649, allocations: 0.75 kB / 1.278 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.765, allocations: 28.28 kB / 1.278 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.765, allocations: 0 / 1.278 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.302e-05/0.7651, allocations: 19.5 kB / 1.278 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.7651, allocations: 5.844 kB / 1.278 GB, free: 2.859 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 4.9e-05/0.7652, allocations: 118.6 kB / 1.278 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.7652, allocations: 16.72 kB / 1.278 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.7656, allocations: 164.8 kB / 1.278 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.7656, allocations: 1.094 kB / 1.278 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.7656, allocations: 1 kB / 1.278 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.7656, allocations: 0 / 1.278 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.7657, allocations: 211.5 kB / 1.278 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7657, allocations: 0.8125 kB / 1.278 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.7659, allocations: 21.11 kB / 1.278 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7659, allocations: 4.906 kB / 1.278 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.7659, allocations: 4.797 kB / 1.278 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.7659, allocations: 1.375 kB / 1.278 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7659, allocations: 4 kB / 1.278 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.7662, allocations: 243.4 kB / 1.279 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.7663, allocations: 97.55 kB / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.7663, allocations: 2.766 kB / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.7664, allocations: 18.2 kB / 1.279 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.7665, allocations: 7.328 kB / 1.279 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.7665, allocations: 1.906 kB / 1.279 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.836e-05/0.7665, allocations: 125.5 kB / 1.279 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7665, allocations: 1.031 kB / 1.279 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00023/0.7668, allocations: 20.88 kB / 1.279 GB, free: 2.043 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.0005166/0.7673, allocations: 0.8032 MB / 1.28 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.7676, allocations: 96.83 kB / 1.28 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7676, allocations: 5.062 kB / 1.28 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.7678, allocations: 57.31 kB / 1.28 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.7681, allocations: 27.33 kB / 1.28 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.7702, allocations: 1.778 MB / 1.282 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.7704, allocations: 0.7041 MB / 1.282 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.345e-05/0.7705, allocations: 8.875 kB / 1.282 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.7706, allocations: 31.44 kB / 1.282 GB, free: 15.18 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/0.7706, allocations: 0.6562 kB / 1.282 GB, free: 15.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.7957, allocations: 3.13 MB / 1.285 GB, free: 14.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.126/7.922, allocations: 9.344 kB / 1.285 GB, free: 14.69 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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] "Error: Could not read variable dryWet.fraDry in file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraDry from file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.fraWet in file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraWet from file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.mWat_flow in file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.mWat_flow from file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.212415119996876]