Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.000796/0.000796, 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.0008483/0.0008483, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.906/0.906, 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 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.796/1.796, allocations: 377.9 MB / 0.6221 GB, free: 8.668 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.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.811e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001944/0.001962, allocations: 1.431 MB / 0.9823 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007913/0.002754, allocations: 0.5567 MB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.002782, allocations: 4 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.002814, allocations: 3.938 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.65e-05/0.00287, allocations: 11.92 kB / 0.9829 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.003229, allocations: 95.5 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.142e-05/0.0033, allocations: 27.86 kB / 0.983 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.003393, allocations: 4 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.469e-05/0.003447, allocations: 19.97 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.003492, allocations: 4 kB / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.003504, allocations: 0 / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.003686, allocations: 143.7 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.003707, allocations: 12 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.003724, allocations: 3.938 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.003897, allocations: 115.7 kB / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.003899, allocations: 0 / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.91e-07/0.0039, allocations: 0 / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.003905, allocations: 4 kB / 0.9833 GB, free: 160 kB / 0.9323 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.0003542/0.004259, allocations: 282.1 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.004296, allocations: 8.031 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.004327, allocations: 42.72 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.004596, allocations: 32.91 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.336e-05/0.004669, allocations: 105.7 kB / 0.9838 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.004681, allocations: 8.297 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.004691, allocations: 4.375 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.004842, allocations: 62.2 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.004848, allocations: 192 / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.004859, allocations: 8.375 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.004865, allocations: 4.125 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.005007, allocations: 51.94 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.005327, allocations: 236 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.005455, allocations: 66.41 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.971e-05/0.005525, allocations: 36.89 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.005544, allocations: 0 / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.005567, allocations: 38.5 kB / 0.9843 GB, free: 15.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.005568, allocations: 0 / 0.9843 GB, free: 15.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0003164/0.005885, allocations: 117.6 kB / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.005916, allocations: 55.34 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.863e-05/0.005975, allocations: 93.86 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.005988, allocations: 29.7 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.006023, allocations: 84.14 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.006043, allocations: 11.88 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.006072, allocations: 13.72 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.006147, allocations: 319 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.006216, allocations: 27.97 kB / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-05/0.006277, allocations: 23.97 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.006406, allocations: 60.86 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006408, allocations: 0 / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001599/0.006568, allocations: 85.58 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.006581, allocations: 11.94 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006586, allocations: 0 / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.006598, allocations: 0 / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.006675, allocations: 20 kB / 0.9852 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.00668, allocations: 0 / 0.9852 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.006718, allocations: 7.984 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.006726, allocations: 4 kB / 0.9852 GB, free: 14.05 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 (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 6.031e-05/0.006787, allocations: 113.8 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.006803, allocations: 7.891 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.006838, allocations: 7.312 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006839, allocations: 4 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.006844, allocations: 0 / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.006848, allocations: 3.984 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.006957, allocations: 136.8 kB / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006958, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.007007, allocations: 11.98 kB / 0.9854 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.00701, allocations: 3.938 kB / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.007017, allocations: 192 / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007018, allocations: 0 / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007019, allocations: 0 / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.007216, allocations: 195.4 kB / 0.9856 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.007222, allocations: 7.875 kB / 0.9856 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.007234, allocations: 0 / 0.9856 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.007288, allocations: 15.98 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.007317, allocations: 3.984 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.007322, allocations: 4.031 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.529e-05/0.007347, allocations: 79.28 kB / 0.9857 GB, free: 13.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007347, allocations: 0 / 0.9857 GB, free: 13.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001712/0.007518, allocations: 15.94 kB / 0.9858 GB, free: 13.38 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 (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 Backend phase and start with SimCode phase: time 0.0004167/0.007935, allocations: 0.7241 MB / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.008107, allocations: 63.91 kB / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.008108, allocations: 0 / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.691e-05/0.008175, allocations: 31.97 kB / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.008388, allocations: 12.06 kB / 0.9866 GB, free: 12.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.008809, allocations: 166.5 kB / 0.9867 GB, free: 12.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.596e-05/0.008855, allocations: 59.34 kB / 0.9868 GB, free: 12.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.616e-05/0.008902, allocations: 8 kB / 0.9868 GB, free: 12.24 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.008944, allocations: 20.42 kB / 0.9868 GB, free: 12.22 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.008944, allocations: 7.938 kB / 0.9868 GB, free: 12.21 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.02695, allocations: 2.338 MB / 0.9891 GB, free: 10 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/6.772, allocations: 14.08 kB / 0.9891 GB, free: 10 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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: 10.972373460419476]