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.001337/0.001337, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.00161/0.00161, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.213/3.213, allocations: 0.505 GB / 0.8066 GB, free: 23.08 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.002065/0.002065, allocations: 69.53 kB / 1.172 GB, free: 17.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3256, allocations: 180.2 MB / 1.348 GB, free: 10.07 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003039/0.3287, allocations: 1.74 MB / 1.349 GB, free: 8.324 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.33, allocations: 0.7951 MB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.33, allocations: 0 / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.3301, allocations: 7.875 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.466e-05/0.3301, allocations: 27.72 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.3305, allocations: 103.7 kB / 1.35 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.3306, allocations: 115.6 kB / 1.351 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3307, allocations: 25.11 kB / 1.351 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.3308, allocations: 47.78 kB / 1.351 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.3309, allocations: 55.75 kB / 1.351 GB, free: 7.145 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3309, allocations: 8 kB / 1.351 GB, free: 7.137 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.3312, allocations: 119.9 kB / 1.351 GB, free: 7.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.3313, allocations: 23.92 kB / 1.351 GB, free: 6.996 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.3313, allocations: 47.73 kB / 1.351 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.3316, allocations: 175.3 kB / 1.351 GB, free: 6.777 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3316, allocations: 0 / 1.351 GB, free: 6.777 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3316, allocations: 4 kB / 1.351 GB, free: 6.773 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3316, allocations: 0 / 1.351 GB, free: 6.773 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.0006954/0.3323, allocations: 446.7 kB / 1.351 GB, free: 6.289 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3323, allocations: 15.97 kB / 1.351 GB, free: 6.273 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.3324, allocations: 38.75 kB / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.3324, allocations: 16.84 kB / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3326, allocations: 182.3 kB / 1.352 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3326, allocations: 16.31 kB / 1.352 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.3326, allocations: 12.38 kB / 1.352 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.3329, allocations: 123.4 kB / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3329, allocations: 0 / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3329, allocations: 0 / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.333, allocations: 4 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.3334, allocations: 111.9 kB / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.3339, allocations: 396.4 kB / 1.352 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.3343, allocations: 106.5 kB / 1.352 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.3345, allocations: 68.75 kB / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/0.335, allocations: 0.5583 MB / 1.353 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.335, allocations: 34.56 kB / 1.353 GB, free: 4.379 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.335, allocations: 0 / 1.353 GB, free: 4.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.000688/0.3357, allocations: 193.4 kB / 1.353 GB, free: 4.184 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3358, allocations: 59.39 kB / 1.353 GB, free: 4.113 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.3359, allocations: 163.3 kB / 1.353 GB, free: 3.941 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3359, allocations: 25.7 kB / 1.353 GB, free: 3.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.336, allocations: 104.1 kB / 1.354 GB, free: 3.805 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.336, allocations: 35.73 kB / 1.354 GB, free: 3.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.3361, allocations: 21.72 kB / 1.354 GB, free: 3.742 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3362, allocations: 318.8 kB / 1.354 GB, free: 3.422 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.3364, allocations: 47.89 kB / 1.354 GB, free: 3.375 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.3366, allocations: 47.95 kB / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.3369, allocations: 100.8 kB / 1.354 GB, free: 3.227 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3369, allocations: 0 / 1.354 GB, free: 3.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004219/0.3374, allocations: 142 kB / 1.354 GB, free: 3.082 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3374, allocations: 9.969 kB / 1.354 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3374, allocations: 12.08 kB / 1.354 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3374, allocations: 3.938 kB / 1.354 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.3376, allocations: 23.97 kB / 1.354 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3376, allocations: 0 / 1.354 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3377, allocations: 19.94 kB / 1.354 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.3377, allocations: 4 kB / 1.354 GB, free: 3.012 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 0.0001001/0.3378, allocations: 117.8 kB / 1.354 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.3378, allocations: 15.83 kB / 1.354 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.3383, allocations: 158.9 kB / 1.355 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3383, allocations: 0 / 1.355 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3383, allocations: 3.984 kB / 1.355 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3383, allocations: 0 / 1.355 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.3386, allocations: 217.5 kB / 1.355 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3386, allocations: 4 kB / 1.355 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.3387, allocations: 27.97 kB / 1.355 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3387, allocations: 3.938 kB / 1.355 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3387, allocations: 4 kB / 1.355 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3387, allocations: 0 / 1.355 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3387, allocations: 0 / 1.355 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.3392, allocations: 239.4 kB / 1.355 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.3393, allocations: 100.9 kB / 1.355 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.3393, allocations: 0 / 1.355 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.3395, allocations: 11.98 kB / 1.355 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.3395, allocations: 11.98 kB / 1.355 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.3395, allocations: 8 kB / 1.355 GB, free: 2 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.593e-05/0.3396, allocations: 120 kB / 1.355 GB, free: 1.883 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3396, allocations: 4 kB / 1.355 GB, free: 1.879 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002788/0.3399, allocations: 27.94 kB / 1.355 GB, free: 1.852 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.0009105/0.3408, allocations: 0.806 MB / 1.356 GB, free: 1.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.3412, allocations: 91.92 kB / 1.356 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3412, allocations: 0 / 1.356 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.3414, allocations: 55.89 kB / 1.356 GB, free: 0.875 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.3418, allocations: 31.97 kB / 1.356 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.3443, allocations: 1.78 MB / 1.358 GB, free: 14.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.3446, allocations: 0.704 MB / 1.359 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.854e-05/0.3447, allocations: 12.55 kB / 1.359 GB, free: 14.24 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.3448, allocations: 33.92 kB / 1.359 GB, free: 14.21 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.3448, allocations: 0 / 1.359 GB, free: 14.21 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.3705, allocations: 3.26 MB / 1.362 GB, free: 11.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.488, allocations: 6.688 kB / 1.362 GB, free: 11.1 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.081400966038927]