Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001456/0.001456, allocations: 110 kB / 18.93 MB, free: 2.945 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.001491/0.001491, allocations: 190.9 kB / 22.23 MB, free: 5.16 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 / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.873/2.873, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 71.78 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3015, allocations: 174.9 MB / 1.316 GB, free: 9.75 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002403/0.3039, allocations: 1.299 MB / 1.317 GB, free: 8.441 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.3048, allocations: 0.5769 MB / 1.318 GB, free: 7.863 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.3048, allocations: 4 kB / 1.318 GB, free: 7.859 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.3049, allocations: 0 / 1.318 GB, free: 7.859 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.958e-05/0.3049, allocations: 3.938 kB / 1.318 GB, free: 7.855 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.3053, allocations: 95.56 kB / 1.318 GB, free: 7.762 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.063e-05/0.3053, allocations: 19.81 kB / 1.318 GB, free: 7.742 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.3054, allocations: 11.98 kB / 1.318 GB, free: 7.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.3054, allocations: 11.92 kB / 1.318 GB, free: 7.719 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.3055, allocations: 4 kB / 1.318 GB, free: 7.715 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.3055, allocations: 0 / 1.318 GB, free: 7.715 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.3058, allocations: 139.8 kB / 1.318 GB, free: 7.578 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.3058, allocations: 7.922 kB / 1.318 GB, free: 7.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.3058, allocations: 8 kB / 1.318 GB, free: 7.562 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.306, allocations: 91.72 kB / 1.318 GB, free: 7.473 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.306, allocations: 3.938 kB / 1.318 GB, free: 7.469 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.032e-06/0.306, allocations: 0 / 1.318 GB, free: 7.469 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.306, allocations: 4 kB / 1.318 GB, free: 7.465 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.000369/0.3064, allocations: 266.2 kB / 1.318 GB, free: 7.172 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3064, allocations: 12.02 kB / 1.319 GB, free: 7.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/0.3068, allocations: 28.86 kB / 1.319 GB, free: 7.133 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3069, allocations: 114.5 kB / 1.319 GB, free: 6.996 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.3069, allocations: 384 / 1.319 GB, free: 6.996 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3069, allocations: 4.312 kB / 1.319 GB, free: 6.992 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.3071, allocations: 50.22 kB / 1.319 GB, free: 6.938 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3071, allocations: 192 / 1.319 GB, free: 6.938 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3071, allocations: 3.938 kB / 1.319 GB, free: 6.934 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3071, allocations: 4 kB / 1.319 GB, free: 6.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3072, allocations: 27.97 kB / 1.319 GB, free: 6.902 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.3074, allocations: 132.6 kB / 1.319 GB, free: 6.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.3076, allocations: 34.56 kB / 1.319 GB, free: 6.688 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.106e-05/0.3076, allocations: 20.91 kB / 1.319 GB, free: 6.664 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3077, allocations: 7.938 kB / 1.319 GB, free: 6.656 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3077, allocations: 30.56 kB / 1.319 GB, free: 6.617 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.3077, allocations: 0 / 1.319 GB, free: 6.617 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003009/0.308, allocations: 77.53 kB / 1.319 GB, free: 6.535 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.308, allocations: 51.41 kB / 1.319 GB, free: 6.473 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.3081, allocations: 110 kB / 1.319 GB, free: 6.355 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3081, allocations: 25.7 kB / 1.319 GB, free: 6.324 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.3082, allocations: 80.14 kB / 1.319 GB, free: 6.242 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.3082, allocations: 7.953 kB / 1.319 GB, free: 6.234 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.3082, allocations: 17.7 kB / 1.319 GB, free: 6.211 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3084, allocations: 314.8 kB / 1.32 GB, free: 5.895 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.3084, allocations: 7.984 kB / 1.32 GB, free: 5.887 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.988e-05/0.3085, allocations: 19.98 kB / 1.32 GB, free: 5.867 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.3086, allocations: 24.84 kB / 1.32 GB, free: 5.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3086, allocations: 0 / 1.32 GB, free: 5.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001789/0.3088, allocations: 65.61 kB / 1.32 GB, free: 5.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3088, allocations: 8.094 kB / 1.32 GB, free: 5.762 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3088, allocations: 3.938 kB / 1.32 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3088, allocations: 0 / 1.32 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.3089, allocations: 7.984 kB / 1.32 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3089, allocations: 0 / 1.32 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.309, allocations: 7.938 kB / 1.32 GB, free: 5.742 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.309, allocations: 3.984 kB / 1.32 GB, free: 5.738 MB / 1.014 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 8.125e-05/0.3091, allocations: 109.8 kB / 1.32 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.3091, allocations: 7.953 kB / 1.32 GB, free: 5.613 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.3091, allocations: 11.25 kB / 1.32 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3091, allocations: 0 / 1.32 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3091, allocations: 0 / 1.32 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3091, allocations: 4 kB / 1.32 GB, free: 5.594 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3092, allocations: 124.8 kB / 1.32 GB, free: 5.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3092, allocations: 3.938 kB / 1.32 GB, free: 5.426 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.3093, allocations: 7.984 kB / 1.32 GB, free: 5.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3093, allocations: 4 kB / 1.32 GB, free: 5.414 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3093, allocations: 7.938 kB / 1.32 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3093, allocations: 0 / 1.32 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3093, allocations: 7.938 kB / 1.32 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.3095, allocations: 85.03 kB / 1.32 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.3096, allocations: 7.984 kB / 1.32 GB, free: 5.289 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3096, allocations: 7.969 kB / 1.32 GB, free: 5.281 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.888e-05/0.3097, allocations: 0 / 1.32 GB, free: 5.281 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.3097, allocations: 4 kB / 1.32 GB, free: 5.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3097, allocations: 0 / 1.32 GB, free: 5.277 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.3097, allocations: 87.27 kB / 1.32 GB, free: 5.191 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3097, allocations: 0 / 1.32 GB, free: 5.191 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002031/0.3099, allocations: 8 kB / 1.32 GB, free: 5.184 MB / 1.014 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.0001553/0.3101, allocations: 119.7 kB / 1.32 GB, free: 5.055 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.3103, allocations: 31.91 kB / 1.32 GB, free: 5.023 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3103, allocations: 0 / 1.32 GB, free: 5.023 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/0.3103, allocations: 15.98 kB / 1.32 GB, free: 5.008 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.3105, allocations: 4 kB / 1.32 GB, free: 5.004 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.3109, allocations: 134.2 kB / 1.32 GB, free: 4.852 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3112, allocations: 0.6729 MB / 1.321 GB, free: 4.152 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.985e-05/0.3112, allocations: 7.938 kB / 1.321 GB, free: 4.145 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.3113, allocations: 15.42 kB / 1.321 GB, free: 4.129 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/0.3113, allocations: 0 / 1.321 GB, free: 4.129 MB / 1.014 GB Notification: Performance of Templates: time 0.002895/0.3142, allocations: 0.7613 MB / 1.322 GB, free: 3.379 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.869559903629124]