Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 106.8 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 181.9 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.469/2.469, allocations: 476.7 MB / 0.7628 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 71.89 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7527, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001848/0.7546, allocations: 1.304 MB / 1.273 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.7553, allocations: 0.5755 MB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.847e-05/0.7553, allocations: 0.875 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.7553, allocations: 0.6094 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.7554, allocations: 10.02 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.7557, allocations: 97.88 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.7558, allocations: 22.53 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.23e-05/0.7558, allocations: 2.125 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.7558, allocations: 8.828 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.173e-05/0.7559, allocations: 9.016 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.7559, allocations: 1.219 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.7561, allocations: 137.8 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.877e-06/0.7562, allocations: 8.656 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.7562, allocations: 8.469 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.7564, allocations: 99.97 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7564, allocations: 1.094 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7564, allocations: 4 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.7564, allocations: 0 / 1.274 GB, free: 6.262 MB / 0.9981 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.0002665/0.7566, allocations: 337 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.7567, allocations: 9.469 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.755e-05/0.7567, allocations: 35.72 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/0.7571, allocations: 36.38 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.937e-05/0.7571, allocations: 169.1 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.7571, allocations: 1.375 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.7571, allocations: 1.156 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.7573, allocations: 47.81 kB / 1.274 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.7573, allocations: 3.938 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.7573, allocations: 0.7812 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.7573, allocations: 0 / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.7574, allocations: 32.55 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.751e-05/0.7575, allocations: 156.7 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.7576, allocations: 44.81 kB / 1.274 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.175e-05/0.7577, allocations: 17.31 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.7577, allocations: 4 kB / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.7577, allocations: 33.25 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.7577, allocations: 0 / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002653/0.758, allocations: 80.73 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.581e-05/0.758, allocations: 51.41 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.967e-05/0.7581, allocations: 104.5 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.7581, allocations: 25.7 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.166e-05/0.7581, allocations: 85.17 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.7581, allocations: 4.922 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.7581, allocations: 16.12 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.878e-05/0.7581, allocations: 311.6 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.7582, allocations: 12.83 kB / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.496e-05/0.7583, allocations: 18.36 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.7584, allocations: 30.42 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.7584, allocations: 0 / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001536/0.7585, allocations: 58.56 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.7585, allocations: 13.41 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.7586, allocations: 1.031 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.7586, allocations: 0 / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.7587, allocations: 7.703 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.7587, allocations: 0 / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.7587, allocations: 5.141 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.7587, allocations: 4.625 kB / 1.275 GB, free: 4.57 MB / 0.9981 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 3.743e-05/0.7588, allocations: 109.3 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.7588, allocations: 13.42 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.7588, allocations: 4.188 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7588, allocations: 1.156 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7588, allocations: 0 / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.7588, allocations: 0 / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.483e-05/0.7589, allocations: 155.9 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7589, allocations: 1.734 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.7589, allocations: 7.141 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.7589, allocations: 9 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.7589, allocations: 2.812 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.7589, allocations: 1 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.759, allocations: 0 / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.7591, allocations: 83.38 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.7591, allocations: 81.8 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.7592, allocations: 19.7 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.7592, allocations: 2 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.7592, allocations: 1.094 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.7592, allocations: 0.9062 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.7e-05/0.7593, allocations: 79.28 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.1e-08/0.7593, allocations: 0 / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001856/0.7594, allocations: 18.81 kB / 1.276 GB, free: 3.977 MB / 0.9981 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.0003314/0.7598, allocations: 0.6427 MB / 1.276 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.7599, allocations: 31.14 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7599, allocations: 4.094 kB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/0.76, allocations: 11.25 kB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.7602, allocations: 19.88 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.7605, allocations: 146.9 kB / 1.277 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.982e-05/0.7606, allocations: 0.6789 MB / 1.277 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.394e-05/0.7607, allocations: 11.42 kB / 1.277 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.7607, allocations: 14.95 kB / 1.277 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.7607, allocations: 1.344 kB / 1.277 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.7832, allocations: 1.549 MB / 1.279 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/7.647, allocations: 12.34 kB / 1.279 GB, free: 2.09 MB / 0.9981 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.842113817001518]