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.001351/0.001351, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001454/0.001454, allocations: 223.7 kB / 22.26 MB, free: 5.211 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 8.012 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.208/3.208, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.002147/0.002147, allocations: 76.64 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.311, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002991/0.314, allocations: 1.76 MB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3153, allocations: 0.8029 MB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.3154, allocations: 0 / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.451e-05/0.3154, allocations: 7.875 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.3155, allocations: 27.72 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.3159, allocations: 103.7 kB / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.3161, allocations: 115.6 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3162, allocations: 21.3 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.259e-05/0.3163, allocations: 51.84 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.3163, allocations: 51.77 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.3164, allocations: 8 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.3166, allocations: 119.8 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.3167, allocations: 23.92 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.3167, allocations: 51.72 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.317, allocations: 167.4 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.317, allocations: 0 / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.994e-06/0.317, allocations: 0 / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.317, allocations: 0 / 1.356 GB, free: 5.133 MB / 1.045 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.0006516/0.3177, allocations: 377.6 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3177, allocations: 12.03 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.3177, allocations: 46.67 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.3178, allocations: 16.84 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.3179, allocations: 122.4 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3179, allocations: 8.375 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3179, allocations: 8.375 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.3183, allocations: 125.6 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3183, allocations: 3.938 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3183, allocations: 4 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3183, allocations: 7.984 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.3186, allocations: 107.9 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.3192, allocations: 363.5 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.3195, allocations: 102.5 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.3197, allocations: 60.86 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.3199, allocations: 39.97 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.32, allocations: 38.5 kB / 1.357 GB, free: 3.586 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.32, allocations: 0 / 1.357 GB, free: 3.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006394/0.3206, allocations: 201.3 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3206, allocations: 55.41 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.3208, allocations: 164.5 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3208, allocations: 25.7 kB / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.3209, allocations: 104.1 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.3209, allocations: 27.75 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.321, allocations: 21.72 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3211, allocations: 322.8 kB / 1.358 GB, free: 2.625 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.3213, allocations: 47.95 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3214, allocations: 43.95 kB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.3218, allocations: 108.7 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3218, allocations: 0 / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003886/0.3221, allocations: 141.5 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3222, allocations: 9.812 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3222, allocations: 0 / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3222, allocations: 4.656 kB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3224, allocations: 27.97 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3224, allocations: 0 / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3225, allocations: 19.88 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3225, allocations: 8 kB / 1.359 GB, free: 2.215 MB / 1.045 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 9.529e-05/0.3226, allocations: 118.4 kB / 1.359 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.3226, allocations: 11.89 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.3231, allocations: 170.8 kB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3231, allocations: 3.984 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3231, allocations: 0 / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3231, allocations: 0 / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.3233, allocations: 180.6 kB / 1.359 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3233, allocations: 0 / 1.359 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.3235, allocations: 35.91 kB / 1.359 GB, free: 1.645 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3235, allocations: 3.938 kB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.3235, allocations: 4 kB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3235, allocations: 0 / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3235, allocations: 0 / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.3239, allocations: 239.4 kB / 1.359 GB, free: 1.387 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.324, allocations: 23.83 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.324, allocations: 4 kB / 1.36 GB, free: 1.359 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3241, allocations: 7.984 kB / 1.36 GB, free: 1.352 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.3242, allocations: 11.98 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3242, allocations: 0 / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.719e-05/0.3243, allocations: 124 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3243, allocations: 0 / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002721/0.3245, allocations: 27.94 kB / 1.36 GB, free: 1.191 MB / 1.045 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.0008322/0.3254, allocations: 0.7984 MB / 1.36 GB, free: 376 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.3258, allocations: 111.8 kB / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3258, allocations: 0 / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.3259, allocations: 51.91 kB / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.3264, allocations: 43.89 kB / 1.361 GB, free: 168 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.3288, allocations: 1.772 MB / 1.362 GB, free: 14.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.3291, allocations: 0.7002 MB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.396e-05/0.3292, allocations: 8.5 kB / 1.363 GB, free: 13.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.3292, allocations: 31.42 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of SimCode: time 9.01e-07/0.3292, allocations: 384 / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.3581, allocations: 3.385 MB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.14, allocations: 3.938 kB / 1.366 GB, free: 10.32 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.766401165999923]