Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001084/0.001084, allocations: 80.44 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.001291/0.001291, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9033/0.9033, 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.733/1.733, allocations: 377.8 MB / 0.6221 GB, free: 8.648 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.SaturationPressureLiquid,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.9809 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.216e-05, allocations: 9.594 kB / 0.981 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002182/0.002204, allocations: 1.424 MB / 0.9823 GB, free: 12 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.000372/0.002576, allocations: 207.5 kB / 0.9825 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.002604, allocations: 0 / 0.9825 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.00263, allocations: 3.938 kB / 0.9825 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.328e-05/0.002664, allocations: 3.938 kB / 0.9825 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.002864, allocations: 35.84 kB / 0.9826 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.203e-05/0.002926, allocations: 19.92 kB / 0.9826 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.556e-05/0.003001, allocations: 11.98 kB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.003041, allocations: 8 kB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.221e-05/0.003074, allocations: 11.92 kB / 0.9826 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.003088, allocations: 4 kB / 0.9826 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/0.003159, allocations: 27.97 kB / 0.9827 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.003173, allocations: 7.984 kB / 0.9827 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.003189, allocations: 8 kB / 0.9827 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.003293, allocations: 43.88 kB / 0.9827 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003295, allocations: 0 / 0.9827 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003295, allocations: 4 kB / 0.9827 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.003299, allocations: 3.938 kB / 0.9827 GB, free: 15.62 MB / 0.9011 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.0002903/0.003589, allocations: 266.3 kB / 0.983 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.003623, allocations: 12.03 kB / 0.983 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.003651, allocations: 34.75 kB / 0.983 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.003756, allocations: 8.891 kB / 0.983 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.476e-05/0.003831, allocations: 117.7 kB / 0.9831 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-06/0.00384, allocations: 384 / 0.9831 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.003847, allocations: 4.312 kB / 0.9831 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.00396, allocations: 54.23 kB / 0.9832 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-06/0.003967, allocations: 192 / 0.9832 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.003974, allocations: 384 / 0.9832 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.003979, allocations: 4.125 kB / 0.9832 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.75e-05/0.004067, allocations: 31.97 kB / 0.9832 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.004317, allocations: 212.1 kB / 0.9834 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.444e-05/0.004391, allocations: 38.5 kB / 0.9835 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.004436, allocations: 28.89 kB / 0.9835 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.004449, allocations: 0 / 0.9835 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.004467, allocations: 38.5 kB / 0.9835 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.32e-07/0.004468, allocations: 0 / 0.9835 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001998/0.004668, allocations: 85.53 kB / 0.9836 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.004702, allocations: 51.41 kB / 0.9837 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.654e-05/0.004759, allocations: 102.1 kB / 0.9838 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.004768, allocations: 29.7 kB / 0.9838 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.004797, allocations: 80.14 kB / 0.9839 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.004815, allocations: 11.94 kB / 0.9839 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.00484, allocations: 13.72 kB / 0.9839 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.00491, allocations: 310.8 kB / 0.9842 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.004951, allocations: 15.98 kB / 0.9842 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.004984, allocations: 19.97 kB / 0.9842 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.437e-05/0.005059, allocations: 40.89 kB / 0.9843 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.00506, allocations: 0 / 0.9843 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.454e-05/0.005155, allocations: 73.53 kB / 0.9843 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.005167, allocations: 8 kB / 0.9843 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.005171, allocations: 3.984 kB / 0.9843 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.005182, allocations: 3.984 kB / 0.9844 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.64e-05/0.005228, allocations: 7.984 kB / 0.9844 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.005233, allocations: 8.031 kB / 0.9844 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.284e-05/0.005256, allocations: 4 kB / 0.9844 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.00526, allocations: 0 / 0.9844 GB, free: 13.73 MB / 0.9011 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.791e-05/0.005307, allocations: 109.8 kB / 0.9845 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.00532, allocations: 7.938 kB / 0.9845 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.005449, allocations: 68.97 kB / 0.9845 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.00545, allocations: 4 kB / 0.9846 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.005454, allocations: 4 kB / 0.9846 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.005456, allocations: 0 / 0.9846 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.765e-05/0.005554, allocations: 128.7 kB / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005555, allocations: 0 / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.005584, allocations: 19.92 kB / 0.9847 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.005586, allocations: 3.938 kB / 0.9847 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.005593, allocations: 7.938 kB / 0.9847 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.005594, allocations: 0 / 0.9847 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005595, allocations: 0 / 0.9847 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.005863, allocations: 163.5 kB / 0.9849 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.005873, allocations: 19.86 kB / 0.9849 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.005883, allocations: 4 kB / 0.9849 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.815e-05/0.005921, allocations: 4 kB / 0.9849 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.005949, allocations: 3.984 kB / 0.9849 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.005952, allocations: 4 kB / 0.9849 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.348e-05/0.005976, allocations: 75.28 kB / 0.985 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.005976, allocations: 0 / 0.985 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001482/0.006124, allocations: 12 kB / 0.985 GB, free: 13.04 MB / 0.9011 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.0002848/0.006409, allocations: 0.7045 MB / 0.9857 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.006523, allocations: 35.95 kB / 0.9857 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006524, allocations: 0 / 0.9857 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.006567, allocations: 23.92 kB / 0.9857 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.006745, allocations: 4 kB / 0.9857 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.007074, allocations: 146.5 kB / 0.9859 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.152e-05/0.007115, allocations: 63.3 kB / 0.9859 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.007133, allocations: 0 / 0.9859 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.007167, allocations: 16.48 kB / 0.9859 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of SimCode: time 8.12e-07/0.007167, allocations: 0 / 0.9859 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.02295, allocations: 2.031 MB / 0.9879 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/6.777, allocations: 11.12 kB / 0.9879 GB, free: 10.06 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_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_SaturationPressureLiquid.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.877182615920901]