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.001283/0.001283, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001462/0.001462, allocations: 215.4 kB / 22.25 MB, free: 4.852 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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.285/3.285, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 65 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3336, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.00305/0.3367, allocations: 1.703 MB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.338, allocations: 0.7334 MB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.3381, allocations: 4 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.266e-05/0.3381, allocations: 7.875 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.681e-05/0.3382, allocations: 31.66 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.3386, allocations: 99.7 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.3388, allocations: 111.6 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3389, allocations: 25.3 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.69e-05/0.3389, allocations: 47.78 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.339, allocations: 43.77 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.339, allocations: 12 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.3393, allocations: 115.8 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.3394, allocations: 23.92 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.3394, allocations: 43.78 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.3397, allocations: 167.4 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3397, allocations: 4 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3397, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3397, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 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.0006511/0.3403, allocations: 373.6 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3404, allocations: 8.031 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/0.3404, allocations: 46.69 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.3405, allocations: 16.84 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3406, allocations: 122.4 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.3406, allocations: 4.375 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.3406, allocations: 12.38 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.341, allocations: 125.5 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.341, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.341, allocations: 8 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.341, allocations: 4 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.3414, allocations: 111.8 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.3419, allocations: 351.5 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.3423, allocations: 106.6 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.3425, allocations: 60.81 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.3427, allocations: 39.91 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.3428, allocations: 38.56 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.3428, allocations: 0 / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006463/0.3434, allocations: 193.6 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.3435, allocations: 51.5 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.3436, allocations: 171.2 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3437, allocations: 25.7 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.3437, allocations: 100.1 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.3438, allocations: 35.69 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.3438, allocations: 21.72 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.344, allocations: 322.8 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.3441, allocations: 47.95 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.3443, allocations: 39.97 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.3446, allocations: 104.7 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3446, allocations: 0 / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003861/0.345, allocations: 145.5 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.345, allocations: 10.28 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.345, allocations: 0 / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.345, allocations: 4 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.3452, allocations: 19.98 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3452, allocations: 3.984 kB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3453, allocations: 27.92 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3453, allocations: 4 kB / 1.369 GB, free: 8.043 MB / 1.061 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.0001018/0.3454, allocations: 117.8 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.3454, allocations: 15.84 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.3459, allocations: 167.1 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3459, allocations: 0 / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3459, allocations: 0 / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3459, allocations: 0 / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.3461, allocations: 164.7 kB / 1.37 GB, free: 7.523 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3461, allocations: 3.938 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.3463, allocations: 27.92 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.3463, allocations: 11.92 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3463, allocations: 0 / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3463, allocations: 0 / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3463, allocations: 0 / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.3467, allocations: 247.3 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.3468, allocations: 15.89 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3468, allocations: 3.984 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3469, allocations: 11.98 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.347, allocations: 7.984 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.347, allocations: 4 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001047/0.3471, allocations: 124 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3471, allocations: 0 / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002629/0.3474, allocations: 31.94 kB / 1.37 GB, free: 7.027 MB / 1.061 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.0008558/0.3482, allocations: 0.7943 MB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.3486, allocations: 108.1 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3486, allocations: 0 / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.3488, allocations: 51.89 kB / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3492, allocations: 37.45 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.3517, allocations: 1.77 MB / 1.373 GB, free: 4.164 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.116e-05/0.3518, allocations: 92.19 kB / 1.373 GB, free: 4.055 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.067e-05/0.3518, allocations: 4.5 kB / 1.373 GB, free: 4.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/0.3519, allocations: 35.42 kB / 1.373 GB, free: 4.016 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/0.3519, allocations: 0 / 1.373 GB, free: 4.016 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.3825, allocations: 3.928 MB / 1.377 GB, free: 264 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.65, allocations: 6.406 kB / 1.377 GB, free: 260 kB / 1.061 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/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] "Error: Could not read variable dryWet.fraDry in file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraDry from file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.fraWet in file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraWet from file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.mWat_flow in file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.mWat_flow from file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.39978407835588]