Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.001347/0.001347, allocations: 110 kB / 16.46 MB, free: 6.453 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.001398/0.001398, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.516/1.516, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.254/3.254, allocations: 0.49 GB / 0.7916 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",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.002078/0.002078, allocations: 66.42 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3807, allocations: 176.1 MB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002847/0.3836, allocations: 1.327 MB / 1.322 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3846, allocations: 0.5573 MB / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.3847, allocations: 4 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.3847, allocations: 7.938 kB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.908e-05/0.3847, allocations: 7.922 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.3852, allocations: 87.58 kB / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.3853, allocations: 23.86 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.3853, allocations: 7.984 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.3853, allocations: 7.938 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.3854, allocations: 7.938 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.3854, allocations: 4 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.3857, allocations: 143.8 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.3857, allocations: 7.969 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.3858, allocations: 8 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.386, allocations: 95.94 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.386, allocations: 3.938 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.386, allocations: 0 / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.386, allocations: 0 / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005077/0.3865, allocations: 347.2 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.3866, allocations: 11.98 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.3866, allocations: 42.73 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005073/0.3871, allocations: 28.91 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3873, allocations: 164.4 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3873, allocations: 384 / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.3873, allocations: 8.359 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.3875, allocations: 50.23 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3875, allocations: 3.938 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3875, allocations: 3.938 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3875, allocations: 0 / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.3877, allocations: 27.91 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.3879, allocations: 153.7 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.3881, allocations: 42.58 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.409e-05/0.3882, allocations: 16.92 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3882, allocations: 3.984 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.3882, allocations: 30.56 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.3882, allocations: 0 / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003632/0.3886, allocations: 85.48 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.3887, allocations: 51.41 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.3887, allocations: 93.86 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3888, allocations: 29.7 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.3888, allocations: 84.14 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.3888, allocations: 7.891 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.3889, allocations: 21.83 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.389, allocations: 314.8 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.3891, allocations: 7.984 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.3892, allocations: 15.98 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.3893, allocations: 28.91 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3893, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002033/0.3895, allocations: 61.61 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3896, allocations: 10.59 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3896, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3896, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3897, allocations: 15.98 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3897, allocations: 32 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.3898, allocations: 7.984 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3898, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 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.047e-05/0.3899, allocations: 109.8 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.3899, allocations: 7.875 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.3899, allocations: 3.125 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3899, allocations: 4 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3899, allocations: 4 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3899, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.3901, allocations: 165.6 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3901, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.826e-05/0.3902, allocations: 4 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.3902, allocations: 7.938 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3902, allocations: 3.984 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3902, allocations: 4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3902, allocations: 3.938 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.3904, allocations: 85.06 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.3905, allocations: 89.09 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3905, allocations: 3.938 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.3906, allocations: 0 / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.3906, allocations: 4 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.3906, allocations: 3.984 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.3907, allocations: 87.48 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3907, allocations: 0 / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002222/0.3909, allocations: 11.94 kB / 1.325 GB, free: 14.41 MB / 1.029 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.0006495/0.3915, allocations: 0.6319 MB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.3917, allocations: 31.97 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3917, allocations: 0 / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.3918, allocations: 11.98 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.392, allocations: 12.11 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.3926, allocations: 160 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.3929, allocations: 0.6729 MB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.754e-05/0.393, allocations: 15.92 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.393, allocations: 11.44 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.393, allocations: 4 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.4169, allocations: 1.588 MB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.271, allocations: 3.938 kB / 1.328 GB, free: 11.32 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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: 15.09230732312426]