Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001282/0.001282, allocations: 79.34 kB / 19.76 MB, free: 1.875 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.001369/0.001369, allocations: 158.6 kB / 23.01 MB, free: 4.602 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.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.629/2.629, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [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.002087/0.002087, allocations: 67.89 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3069, allocations: 169.9 MB / 1.117 GB, free: 2.613 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002405/0.3093, allocations: 1.305 MB / 1.119 GB, free: 1.297 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.6745/0.9838, allocations: 129.6 MB / 1.245 GB, free: 7.836 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.9838, allocations: 0 / 1.245 GB, free: 7.836 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.9839, allocations: 4.641 kB / 1.245 GB, free: 7.832 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.365e-05/0.9839, allocations: 9.578 kB / 1.245 GB, free: 7.824 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.9844, allocations: 118.3 kB / 1.245 GB, free: 7.773 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.9845, allocations: 26.66 kB / 1.245 GB, free: 7.758 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.9846, allocations: 1.797 kB / 1.245 GB, free: 7.758 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.9846, allocations: 5.141 kB / 1.245 GB, free: 7.758 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 3.405e-05/0.9846, allocations: 8.266 kB / 1.245 GB, free: 7.754 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.9846, allocations: 1.156 kB / 1.245 GB, free: 7.754 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005193/0.9852, allocations: 169.8 kB / 1.246 GB, free: 7.707 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.9852, allocations: 5.203 kB / 1.246 GB, free: 7.703 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.9852, allocations: 5.188 kB / 1.246 GB, free: 7.703 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.9855, allocations: 115.2 kB / 1.246 GB, free: 7.676 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9855, allocations: 4 kB / 1.246 GB, free: 7.672 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9855, allocations: 0 / 1.246 GB, free: 7.672 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.9855, allocations: 0 / 1.246 GB, free: 7.672 MB / 1.107 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.0004123/0.9859, allocations: 275.2 kB / 1.246 GB, free: 7.398 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.986, allocations: 10.2 kB / 1.246 GB, free: 7.398 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006139/0.9866, allocations: 46.52 kB / 1.246 GB, free: 7.391 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.9867, allocations: 113.9 kB / 1.246 GB, free: 7.258 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.9867, allocations: 3.938 kB / 1.246 GB, free: 7.254 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.9867, allocations: 1.531 kB / 1.246 GB, free: 7.254 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.9869, allocations: 52.12 kB / 1.246 GB, free: 7.215 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.9869, allocations: 0 / 1.246 GB, free: 7.215 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.9869, allocations: 0 / 1.246 GB, free: 7.215 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.9869, allocations: 2.156 kB / 1.246 GB, free: 7.215 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.987, allocations: 16.72 kB / 1.246 GB, free: 7.215 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.9874, allocations: 211.7 kB / 1.246 GB, free: 7 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 5.95e-05/0.9874, allocations: 23.03 kB / 1.246 GB, free: 6.973 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.9875, allocations: 9.469 kB / 1.246 GB, free: 6.965 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.9875, allocations: 1.406 kB / 1.246 GB, free: 6.965 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.9875, allocations: 40.31 kB / 1.247 GB, free: 6.918 MB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9875, allocations: 0 / 1.247 GB, free: 6.918 MB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0001473/0.9877, allocations: 37.88 kB / 1.247 GB, free: 6.887 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.9877, allocations: 51.41 kB / 1.247 GB, free: 6.824 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.9878, allocations: 117.6 kB / 1.247 GB, free: 6.715 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.9879, allocations: 26.67 kB / 1.247 GB, free: 6.684 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.9879, allocations: 81.97 kB / 1.247 GB, free: 6.602 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.739e-06/0.9879, allocations: 5.719 kB / 1.247 GB, free: 6.598 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.988, allocations: 21.89 kB / 1.247 GB, free: 6.578 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.9881, allocations: 320.6 kB / 1.247 GB, free: 6.258 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.63e-05/0.9882, allocations: 9.906 kB / 1.247 GB, free: 6.258 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.9882, allocations: 14.59 kB / 1.247 GB, free: 6.254 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.956e-05/0.9883, allocations: 25.61 kB / 1.247 GB, free: 6.238 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9883, allocations: 0 / 1.247 GB, free: 6.238 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002045/0.9885, allocations: 65.34 kB / 1.247 GB, free: 6.195 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.9886, allocations: 5.312 kB / 1.247 GB, free: 6.195 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9886, allocations: 0.6562 kB / 1.247 GB, free: 6.195 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.9886, allocations: 3.594 kB / 1.247 GB, free: 6.195 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.9887, allocations: 8.938 kB / 1.247 GB, free: 6.195 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.9887, allocations: 5.594 kB / 1.247 GB, free: 6.191 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.9888, allocations: 12.16 kB / 1.247 GB, free: 6.188 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.9888, allocations: 2.141 kB / 1.247 GB, free: 6.188 MB / 1.107 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 (3): * Single equations (assignments): 3 * 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.272e-05/0.9889, allocations: 115.9 kB / 1.247 GB, free: 6.066 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.989, allocations: 5.219 kB / 1.247 GB, free: 6.062 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.989, allocations: 5.266 kB / 1.247 GB, free: 6.059 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.989, allocations: 0.6562 kB / 1.247 GB, free: 6.059 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.989, allocations: 1.031 kB / 1.247 GB, free: 6.059 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.989, allocations: 6.5 kB / 1.247 GB, free: 6.055 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.9891, allocations: 107 kB / 1.248 GB, free: 5.926 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.9891, allocations: 0 / 1.248 GB, free: 5.926 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.9892, allocations: 3.359 kB / 1.248 GB, free: 5.926 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9892, allocations: 1.438 kB / 1.248 GB, free: 5.926 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.9892, allocations: 0.5156 kB / 1.248 GB, free: 5.926 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9892, allocations: 0 / 1.248 GB, free: 5.926 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9892, allocations: 1.906 kB / 1.248 GB, free: 5.926 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.9893, allocations: 135.2 kB / 1.248 GB, free: 5.789 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.9893, allocations: 7.453 kB / 1.248 GB, free: 5.785 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.9893, allocations: 0.7969 kB / 1.248 GB, free: 5.785 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.9895, allocations: 11.36 kB / 1.248 GB, free: 5.777 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.9895, allocations: 6.656 kB / 1.248 GB, free: 5.773 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.9895, allocations: 0 / 1.248 GB, free: 5.773 MB / 1.107 GB Notification: Performance of sorting global known variables: time 9.868e-05/0.9896, allocations: 88.28 kB / 1.248 GB, free: 5.699 MB / 1.107 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9896, allocations: 0 / 1.248 GB, free: 5.699 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000259/0.9898, allocations: 19.66 kB / 1.248 GB, free: 5.691 MB / 1.107 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.000161/0.99, allocations: 109.3 kB / 1.248 GB, free: 5.602 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.9901, allocations: 23.98 kB / 1.248 GB, free: 5.594 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9901, allocations: 0 / 1.248 GB, free: 5.594 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.9902, allocations: 8.891 kB / 1.248 GB, free: 5.59 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.9905, allocations: 10.25 kB / 1.248 GB, free: 5.586 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.9908, allocations: 121.3 kB / 1.248 GB, free: 5.48 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.387e-05/0.9908, allocations: 57.73 kB / 1.248 GB, free: 5.41 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 5.464e-05/0.9909, allocations: 7.703 kB / 1.248 GB, free: 5.406 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.9909, allocations: 14.77 kB / 1.248 GB, free: 5.395 MB / 1.107 GB Notification: Performance of SimCode: time 3.1e-07/0.9909, allocations: 1.469 kB / 1.248 GB, free: 5.395 MB / 1.107 GB Notification: Performance of Templates: time 0.003373/0.9943, allocations: 0.7775 MB / 1.249 GB, free: 5.301 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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: 8.313812278909609]