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.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.0008673/0.0008673, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008761/0.0008761, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8765/0.8765, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.653/1.653, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.242e-06/1.242e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03e-05/1.154e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.001755/0.001766, allocations: 1.698 MB / 0.9522 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000799/0.002565, allocations: 0.7439 MB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.002609, allocations: 4 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.002642, allocations: 11.86 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.002693, allocations: 19.73 kB / 0.953 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.00299, allocations: 111.5 kB / 0.9531 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.003091, allocations: 111.6 kB / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.003186, allocations: 33.25 kB / 0.9532 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.953e-05/0.003266, allocations: 63.86 kB / 0.9533 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.003312, allocations: 35.89 kB / 0.9533 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.00333, allocations: 12 kB / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.00352, allocations: 111.9 kB / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.003537, allocations: 23.89 kB / 0.9534 GB, free: 460 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.003566, allocations: 35.92 kB / 0.9535 GB, free: 424 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.00374, allocations: 183.3 kB / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.402e-06/0.003741, allocations: 0 / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of FrontEnd: time 6.82e-07/0.003742, allocations: 0 / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.003745, allocations: 7.938 kB / 0.9537 GB, free: 232 kB / 0.9011 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.0004054/0.004151, allocations: 365.7 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.004186, allocations: 12.03 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.004217, allocations: 42.73 kB / 0.9541 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.004242, allocations: 16.84 kB / 0.9541 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.957e-05/0.004322, allocations: 125.6 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.004333, allocations: 8.375 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.004343, allocations: 4.375 kB / 0.9542 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.004536, allocations: 128.7 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004543, allocations: 192 / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.004556, allocations: 16.06 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.00456, allocations: 0 / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.004752, allocations: 107.9 kB / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.005112, allocations: 347.6 kB / 0.9548 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.005337, allocations: 106.5 kB / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.515e-05/0.005432, allocations: 56.81 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.005571, allocations: 35.97 kB / 0.955 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.005587, allocations: 38.56 kB / 0.955 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.005588, allocations: 0 / 0.955 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0003404/0.005929, allocations: 185.4 kB / 0.9552 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.005955, allocations: 59.34 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.09e-05/0.006046, allocations: 167.3 kB / 0.9554 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.006056, allocations: 25.7 kB / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.006095, allocations: 100.1 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.006115, allocations: 31.73 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.006148, allocations: 29.67 kB / 0.9556 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.006218, allocations: 322.8 kB / 0.9559 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.178e-05/0.0063, allocations: 51.89 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.006377, allocations: 44.33 kB / 0.956 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.006535, allocations: 104.9 kB / 0.9561 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.006536, allocations: 0 / 0.9561 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001943/0.006731, allocations: 141.5 kB / 0.9562 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.006742, allocations: 6.812 kB / 0.9562 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.006745, allocations: 0 / 0.9562 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.006755, allocations: 7.938 kB / 0.9562 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.595e-05/0.006821, allocations: 27.97 kB / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.006825, allocations: 0 / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.006871, allocations: 19.88 kB / 0.9563 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.006878, allocations: 4 kB / 0.9563 GB, free: 13.35 MB / 0.9167 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.506e-05/0.006933, allocations: 121.8 kB / 0.9564 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.006949, allocations: 11.91 kB / 0.9564 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.007174, allocations: 155 kB / 0.9565 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.007184, allocations: 3.938 kB / 0.9566 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.007188, allocations: 4 kB / 0.9566 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007191, allocations: 3.938 kB / 0.9566 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.007312, allocations: 164.7 kB / 0.9567 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.007313, allocations: 0 / 0.9567 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/0.007372, allocations: 35.97 kB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.007373, allocations: 0 / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.00738, allocations: 0 / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.007382, allocations: 3.938 kB / 0.9568 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.007383, allocations: 4 kB / 0.9568 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.007594, allocations: 247.4 kB / 0.957 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.007623, allocations: 19.88 kB / 0.957 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.007636, allocations: 0 / 0.957 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.885e-05/0.007695, allocations: 19.92 kB / 0.957 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.007729, allocations: 11.98 kB / 0.957 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.007732, allocations: 0 / 0.957 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001276/0.00786, allocations: 124 kB / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.00786, allocations: 0 / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001627/0.008022, allocations: 24 kB / 0.9572 GB, free: 12.34 MB / 0.9167 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.0004147/0.008437, allocations: 0.7903 MB / 0.958 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.008639, allocations: 107.8 kB / 0.9581 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00864, allocations: 0 / 0.9581 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.008727, allocations: 55.89 kB / 0.9581 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.008965, allocations: 44.41 kB / 0.9582 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.01028, allocations: 1.773 MB / 0.9599 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.039e-05/0.01033, allocations: 92.03 kB / 0.96 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.01037, allocations: 16.48 kB / 0.96 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.01041, allocations: 32.48 kB / 0.96 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of SimCode: time 5.51e-07/0.01041, allocations: 112 / 0.96 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.02624, allocations: 4.046 MB / 0.964 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/7.035, allocations: 14.17 kB / 0.964 GB, free: 5.434 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.00017587095499]