Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008603/0.0008603, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001019/0.001019, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8759/0.8759, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.692/1.692, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.604e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003121/0.003147, allocations: 1.713 MB / 0.9827 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.004402, allocations: 0.7399 MB / 0.9834 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.004475, allocations: 0 / 0.9834 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.218e-05/0.004517, allocations: 11.88 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.757e-05/0.004594, allocations: 19.78 kB / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.005042, allocations: 103.6 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.005194, allocations: 119.5 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.005319, allocations: 29.22 kB / 0.9837 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.00543, allocations: 71.81 kB / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.005492, allocations: 35.89 kB / 0.9838 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.005515, allocations: 12 kB / 0.9838 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.005771, allocations: 115.9 kB / 0.9839 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.005792, allocations: 19.91 kB / 0.9839 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.005831, allocations: 35.92 kB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.006081, allocations: 179.4 kB / 0.9841 GB, free: 15.35 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006084, allocations: 0 / 0.9841 GB, free: 15.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.373e-06/0.006085, allocations: 0 / 0.9841 GB, free: 15.35 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.00609, allocations: 0 / 0.9841 GB, free: 15.35 MB / 0.948 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.0005437/0.006634, allocations: 373.6 kB / 0.9845 GB, free: 14.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.006681, allocations: 12.03 kB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.006724, allocations: 42.69 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.006759, allocations: 20.84 kB / 0.9845 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.006865, allocations: 125.6 kB / 0.9846 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.006881, allocations: 8.375 kB / 0.9847 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.006895, allocations: 4.375 kB / 0.9847 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.007175, allocations: 128.4 kB / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.007185, allocations: 192 / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.007202, allocations: 12.12 kB / 0.9848 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.007208, allocations: 7.922 kB / 0.9848 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.007479, allocations: 111.9 kB / 0.9849 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.007979, allocations: 347.5 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.008275, allocations: 106.6 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.008406, allocations: 56.81 kB / 0.9854 GB, free: 13.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.008588, allocations: 43.91 kB / 0.9854 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.008608, allocations: 30.56 kB / 0.9855 GB, free: 13.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.008609, allocations: 0 / 0.9855 GB, free: 13.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0004755/0.009085, allocations: 193.4 kB / 0.9857 GB, free: 13.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.009126, allocations: 59.34 kB / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.009252, allocations: 161.2 kB / 0.9859 GB, free: 13.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.009267, allocations: 25.7 kB / 0.9859 GB, free: 13.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.009322, allocations: 100.1 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.009351, allocations: 35.7 kB / 0.986 GB, free: 13.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.009395, allocations: 29.7 kB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.009494, allocations: 322.8 kB / 0.9864 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.009606, allocations: 39.97 kB / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.009716, allocations: 43.95 kB / 0.9864 GB, free: 12.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.009948, allocations: 105.3 kB / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00995, allocations: 0 / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002859/0.01024, allocations: 145.4 kB / 0.9867 GB, free: 12.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.01025, allocations: 11.12 kB / 0.9867 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01026, allocations: 0 / 0.9867 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.01027, allocations: 3.938 kB / 0.9867 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.01037, allocations: 27.98 kB / 0.9867 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01037, allocations: 0 / 0.9867 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.01044, allocations: 19.88 kB / 0.9867 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.01045, allocations: 3.984 kB / 0.9867 GB, free: 12.46 MB / 0.948 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 7.259e-05/0.01052, allocations: 117.8 kB / 0.9868 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.01055, allocations: 15.91 kB / 0.9869 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.01087, allocations: 155 kB / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.01087, allocations: 3.938 kB / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01087, allocations: 4 kB / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01088, allocations: 0 / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.01105, allocations: 164.7 kB / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01106, allocations: 0 / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.01115, allocations: 27.92 kB / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01115, allocations: 0 / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.01116, allocations: 11.94 kB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.01116, allocations: 7.938 kB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01116, allocations: 3.984 kB / 0.9872 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.01146, allocations: 235.3 kB / 0.9874 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.0115, allocations: 19.94 kB / 0.9875 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.01152, allocations: 0 / 0.9875 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.01161, allocations: 20.19 kB / 0.9875 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.01165, allocations: 15.98 kB / 0.9875 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.01165, allocations: 0 / 0.9875 GB, free: 11.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.637e-05/0.01173, allocations: 129.5 kB / 0.9876 GB, free: 11.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01173, allocations: 0 / 0.9876 GB, free: 11.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002527/0.01198, allocations: 27.94 kB / 0.9877 GB, free: 11.45 MB / 0.948 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.000578/0.01256, allocations: 0.7864 MB / 0.9884 GB, free: 10.63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.01285, allocations: 103.9 kB / 0.9885 GB, free: 10.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01285, allocations: 0 / 0.9885 GB, free: 10.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.01298, allocations: 59.89 kB / 0.9886 GB, free: 10.47 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.01335, allocations: 35.89 kB / 0.9886 GB, free: 10.44 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.01523, allocations: 1.771 MB / 0.9903 GB, free: 8.582 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.892e-05/0.0153, allocations: 84.31 kB / 0.9904 GB, free: 8.48 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.099e-05/0.01536, allocations: 20.47 kB / 0.9904 GB, free: 8.461 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.01541, allocations: 28.5 kB / 0.9905 GB, free: 8.434 MB / 0.948 GB Notification: Performance of SimCode: time 8.02e-07/0.01542, allocations: 0 / 0.9905 GB, free: 8.434 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.03636, allocations: 4.065 MB / 0.9944 GB, free: 4.547 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.727/6.764, allocations: 10.44 kB / 0.9944 GB, free: 4.539 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraDry from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.fraWet in file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraWet from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.mWat_flow in file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.mWat_flow from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.837673339061439]