Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.000865/0.000865, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008598/0.0008598, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8748/0.8748, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.826/1.826, allocations: 389 MB / 0.633 GB, free: 12.65 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.9996 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.276e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001565/0.001578, allocations: 1.424 MB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003334/0.001911, allocations: 200.2 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.001939, allocations: 4 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.001964, allocations: 7.875 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.002003, allocations: 11.91 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.002215, allocations: 27.86 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.818e-05/0.002283, allocations: 23.91 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/0.00237, allocations: 12 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.002e-05/0.00242, allocations: 11.98 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.002454, allocations: 11.92 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.002469, allocations: 0 / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.002549, allocations: 31.92 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.002564, allocations: 7.984 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.002584, allocations: 7.984 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.002699, allocations: 35.91 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002701, allocations: 3.938 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.81e-07/0.002702, allocations: 0 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.002706, allocations: 0 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003431/0.003049, allocations: 270.3 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.00309, allocations: 8.75 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.003121, allocations: 38.73 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.003244, allocations: 8.938 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.138e-05/0.003325, allocations: 113.7 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.003335, allocations: 384 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.003344, allocations: 4.375 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.003468, allocations: 54.17 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.003475, allocations: 4.188 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.003483, allocations: 384 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.003489, allocations: 4.125 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.985e-05/0.003579, allocations: 31.95 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.003845, allocations: 216.1 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.421e-05/0.003919, allocations: 38.5 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.003962, allocations: 16.91 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.003975, allocations: 4 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.003993, allocations: 42.48 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.003994, allocations: 0 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002104/0.004204, allocations: 77.66 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.00423, allocations: 55.39 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.004412, allocations: 97.86 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.00442, allocations: 29.64 kB / 1.002 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/0.00445, allocations: 88.27 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.004464, allocations: 7.953 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.004488, allocations: 13.7 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.004554, allocations: 314.8 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.004595, allocations: 19.92 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.004628, allocations: 11.98 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.004702, allocations: 40.81 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.004705, allocations: 8.062 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.812e-05/0.004803, allocations: 77.53 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.004814, allocations: 4 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.00482, allocations: 0 / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.004831, allocations: 0 / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.004879, allocations: 11.94 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.004884, allocations: 0 / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.004911, allocations: 15.91 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.004916, allocations: 4 kB / 1.003 GB, free: 9.762 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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 4.858e-05/0.004964, allocations: 109.8 kB / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.004976, allocations: 3.938 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.005116, allocations: 76.95 kB / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.005121, allocations: 0 / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.005125, allocations: 0 / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005128, allocations: 0 / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.543e-05/0.005223, allocations: 132.8 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.005224, allocations: 0 / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.005251, allocations: 11.98 kB / 1.003 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.005254, allocations: 3.938 kB / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.00526, allocations: 0 / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.005261, allocations: 3.938 kB / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005262, allocations: 0 / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.005382, allocations: 167.7 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-06/0.005389, allocations: 7.891 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.005401, allocations: 11.98 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.005439, allocations: 8 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.005471, allocations: 3.984 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.005474, allocations: 0 / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.005497, allocations: 79.28 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005497, allocations: 0 / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001389/0.005636, allocations: 4 kB / 1.004 GB, free: 9.07 MB / 0.9636 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 (3): * Single equations (assignments): 3 * 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.0002833/0.00592, allocations: 0.7085 MB / 1.004 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.006032, allocations: 31.97 kB / 1.004 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.006033, allocations: 0 / 1.004 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.006077, allocations: 23.97 kB / 1.004 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.006257, allocations: 4 kB / 1.004 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.006555, allocations: 142.4 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.959e-05/0.006594, allocations: 75.28 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.732e-05/0.006612, allocations: 0 / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.006644, allocations: 16.5 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.006644, allocations: 0 / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.01943, allocations: 2.036 MB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.821/6.841, allocations: 10.42 kB / 1.007 GB, free: 6.09 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.015297346748412]