Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00204/0.00204, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002493/0.002493, allocations: 213 kB / 22.25 MB, free: 5.086 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.899/2.899, allocations: 476.8 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_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.002022/0.002022, allocations: 64.84 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3402, allocations: 170 MB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002724/0.343, allocations: 1.444 MB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.344, allocations: 0.6054 MB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.3441, allocations: 0 / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.3441, allocations: 3.938 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.732e-05/0.3441, allocations: 7.922 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.3446, allocations: 99.56 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.3446, allocations: 27.86 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.3447, allocations: 4 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.178e-05/0.3448, allocations: 11.98 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/0.3448, allocations: 15.94 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.3448, allocations: 0 / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.3451, allocations: 155.7 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.3451, allocations: 7.984 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.3452, allocations: 11.94 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3454, allocations: 107.2 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3454, allocations: 0 / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3454, allocations: 0 / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3454, allocations: 0 / 1.286 GB, free: 9.281 MB / 0.9825 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.0004842/0.3459, allocations: 290.1 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3459, allocations: 8.031 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.346, allocations: 38.75 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004627/0.3464, allocations: 28.89 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3466, allocations: 110.5 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3466, allocations: 384 / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.3466, allocations: 4.312 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.3468, allocations: 74.14 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3468, allocations: 3.938 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3469, allocations: 4 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3469, allocations: 0 / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.3471, allocations: 51.94 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.3476, allocations: 240 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.3478, allocations: 66.41 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.3479, allocations: 32.89 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.348, allocations: 0 / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.348, allocations: 34.56 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.348, allocations: 0 / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.00052/0.3485, allocations: 109.6 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.3486, allocations: 55.41 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.3486, allocations: 101.8 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.3487, allocations: 29.7 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.3487, allocations: 84.14 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.3487, allocations: 3.953 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.3488, allocations: 17.7 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3489, allocations: 319 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.349, allocations: 23.97 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3492, allocations: 27.97 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3494, allocations: 56.88 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3494, allocations: 3.938 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000297/0.3497, allocations: 89.56 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3497, allocations: 4 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3497, allocations: 4.219 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3497, allocations: 7.938 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3499, allocations: 11.98 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3499, allocations: 0 / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.502e-05/0.35, allocations: 15.92 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.35, allocations: 0 / 1.288 GB, free: 7.172 MB / 0.9825 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.007e-05/0.35, allocations: 125.7 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.3501, allocations: 4 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.3501, allocations: 3.312 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3501, allocations: 3.938 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3501, allocations: 4 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3501, allocations: 0 / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.3503, allocations: 136.7 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3503, allocations: 0 / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.3504, allocations: 15.97 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3504, allocations: 8 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3504, allocations: 0 / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3504, allocations: 4 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3504, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.3508, allocations: 191.4 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.3508, allocations: 4 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3508, allocations: 0 / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3509, allocations: 7.984 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.351, allocations: 0 / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.351, allocations: 4 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.026e-05/0.351, allocations: 87.27 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.351, allocations: 0 / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002423/0.3513, allocations: 11.95 kB / 1.288 GB, free: 6.508 MB / 0.9825 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.0006988/0.352, allocations: 0.7241 MB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003286/0.3523, allocations: 67.89 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3523, allocations: 0 / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3524, allocations: 27.97 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3527, allocations: 12.12 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.3533, allocations: 176.3 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.3536, allocations: 0.6768 MB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.272e-05/0.3537, allocations: 8 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.3537, allocations: 15.44 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3537, allocations: 0 / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.3879, allocations: 1.777 MB / 1.292 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.35, allocations: 7.812 kB / 1.292 GB, free: 3.062 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.539499033009633]