Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001627/0.001627, allocations: 101.9 kB / 19.73 MB, free: 2.109 MB / 14.72 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.002122/0.002122, allocations: 223.5 kB / 23.04 MB, free: 4.906 MB / 14.72 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 1.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.504/3.504, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 70.42 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3891, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002891/0.392, allocations: 1.428 MB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3931, allocations: 0.5533 MB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.3931, allocations: 0 / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.3932, allocations: 0 / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.3932, allocations: 7.922 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.3937, allocations: 99.56 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.3938, allocations: 27.92 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.3939, allocations: 4 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.3939, allocations: 11.94 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.394, allocations: 11.98 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.394, allocations: 4 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.3943, allocations: 147.7 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.3943, allocations: 11.92 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.3943, allocations: 4 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.3946, allocations: 107.6 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3946, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3946, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3946, allocations: 4 kB / 1.348 GB, free: 13.55 MB / 1.045 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.0005012/0.3951, allocations: 278.1 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3952, allocations: 12.03 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.414e-05/0.3952, allocations: 192 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.3952, allocations: 38.67 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004931/0.3957, allocations: 32.86 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3958, allocations: 118.5 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3958, allocations: 8.359 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.3958, allocations: 384 / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.3961, allocations: 65.95 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3961, allocations: 0 / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3961, allocations: 0 / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3961, allocations: 0 / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.3964, allocations: 55.94 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.3969, allocations: 239.9 kB / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.3971, allocations: 58.53 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.3973, allocations: 32.89 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3973, allocations: 0 / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.3973, allocations: 38.56 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.3973, allocations: 0 / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0005522/0.3979, allocations: 117.6 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3979, allocations: 59.44 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.398, allocations: 97.86 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.398, allocations: 25.7 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.3981, allocations: 84.14 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.3981, allocations: 7.938 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.3982, allocations: 13.72 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3983, allocations: 318.8 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.3984, allocations: 23.98 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3985, allocations: 27.97 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.3988, allocations: 60.73 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3988, allocations: 0 / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003132/0.3991, allocations: 89.64 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3991, allocations: 8 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3991, allocations: 3.984 kB / 1.349 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3992, allocations: 0 / 1.349 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.3993, allocations: 15.92 kB / 1.349 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3993, allocations: 3.984 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.69e-05/0.3994, allocations: 12.02 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3994, allocations: 4 kB / 1.349 GB, free: 11.44 MB / 1.045 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 9.129e-05/0.3995, allocations: 117.7 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.3995, allocations: 4 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.3996, allocations: 3.312 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.3996, allocations: 3.984 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3996, allocations: 0 / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3996, allocations: 0 / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.3997, allocations: 136.7 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3997, allocations: 4 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.3999, allocations: 11.98 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3999, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3999, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.3999, allocations: 3.984 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3999, allocations: 7.938 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.4003, allocations: 183.4 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.4003, allocations: 7.938 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.4003, allocations: 4 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.4004, allocations: 8.172 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.4004, allocations: 3.984 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.4005, allocations: 7.984 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.4005, allocations: 75.28 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4005, allocations: 0 / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002467/0.4007, allocations: 12 kB / 1.35 GB, free: 10.79 MB / 1.045 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.00079/0.4015, allocations: 0.7357 MB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.4019, allocations: 59.97 kB / 1.351 GB, free: 9.961 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4019, allocations: 0 / 1.351 GB, free: 9.961 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.402, allocations: 27.97 kB / 1.351 GB, free: 9.934 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.4023, allocations: 5.031 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.4029, allocations: 180.4 kB / 1.351 GB, free: 9.711 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.624e-05/0.403, allocations: 63.34 kB / 1.351 GB, free: 9.629 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.989e-05/0.4031, allocations: 7.938 kB / 1.351 GB, free: 9.621 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.4031, allocations: 19.42 kB / 1.351 GB, free: 9.602 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4031, allocations: 3.938 kB / 1.351 GB, free: 9.598 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.4268, allocations: 1.861 MB / 1.353 GB, free: 7.895 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.64, allocations: 4.156 kB / 1.353 GB, free: 7.895 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.136443834984675]