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.001681/0.001681, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001991/0.001991, allocations: 211.7 kB / 22.24 MB, free: 5.258 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.824 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.908/2.908, allocations: 476 MB / 0.7699 GB, free: 4.766 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: 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.002121/0.002121, allocations: 65.98 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.395, allocations: 169.9 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002608/0.3976, allocations: 1.309 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1655/0.5632, allocations: 129.6 MB / 1.411 GB, free: 8.504 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.5632, allocations: 3.938 kB / 1.411 GB, free: 8.5 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.5632, allocations: 4 kB / 1.411 GB, free: 8.496 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.5633, allocations: 11.92 kB / 1.411 GB, free: 8.484 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.5638, allocations: 119.4 kB / 1.411 GB, free: 8.367 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 6.979e-05/0.5639, allocations: 15.88 kB / 1.411 GB, free: 8.352 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.5639, allocations: 11.92 kB / 1.411 GB, free: 8.34 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.564, allocations: 4 kB / 1.411 GB, free: 8.336 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 3.713e-05/0.564, allocations: 7.938 kB / 1.411 GB, free: 8.328 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.564, allocations: 0 / 1.411 GB, free: 8.328 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004645/0.5645, allocations: 167.7 kB / 1.411 GB, free: 8.164 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.5645, allocations: 7.969 kB / 1.411 GB, free: 8.156 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.5645, allocations: 8 kB / 1.411 GB, free: 8.148 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.5648, allocations: 107.7 kB / 1.411 GB, free: 8.043 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.5648, allocations: 0 / 1.411 GB, free: 8.043 MB / 1.108 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5648, allocations: 0 / 1.411 GB, free: 8.043 MB / 1.108 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.5648, allocations: 3.938 kB / 1.411 GB, free: 8.039 MB / 1.108 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.0003973/0.5652, allocations: 286 kB / 1.412 GB, free: 7.73 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.5653, allocations: 12.03 kB / 1.412 GB, free: 7.719 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006418/0.5659, allocations: 40.89 kB / 1.412 GB, free: 7.68 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.566, allocations: 102.5 kB / 1.412 GB, free: 7.555 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.566, allocations: 3.938 kB / 1.412 GB, free: 7.551 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.5661, allocations: 4 kB / 1.412 GB, free: 7.547 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.5662, allocations: 49.66 kB / 1.412 GB, free: 7.492 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5663, allocations: 3.984 kB / 1.412 GB, free: 7.488 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5663, allocations: 0 / 1.412 GB, free: 7.488 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5663, allocations: 4 kB / 1.412 GB, free: 7.484 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.5664, allocations: 19.97 kB / 1.412 GB, free: 7.465 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.5668, allocations: 204.5 kB / 1.412 GB, free: 7.234 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 6.539e-05/0.5668, allocations: 26.56 kB / 1.412 GB, free: 7.199 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.5669, allocations: 8.859 kB / 1.412 GB, free: 7.188 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.5669, allocations: 4.062 kB / 1.412 GB, free: 7.184 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.5669, allocations: 30.56 kB / 1.412 GB, free: 7.145 MB / 1.108 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5669, allocations: 4 kB / 1.412 GB, free: 7.141 MB / 1.108 GB Notification: Performance of matching and sorting (n=2): time 0.0001663/0.5671, allocations: 41.64 kB / 1.412 GB, free: 7.094 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.5671, allocations: 59.39 kB / 1.412 GB, free: 7.023 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.5673, allocations: 105.8 kB / 1.412 GB, free: 6.91 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.5673, allocations: 25.7 kB / 1.412 GB, free: 6.879 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.5673, allocations: 88.12 kB / 1.412 GB, free: 6.789 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.5674, allocations: 7.891 kB / 1.412 GB, free: 6.781 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.5674, allocations: 21.7 kB / 1.412 GB, free: 6.754 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5675, allocations: 318.8 kB / 1.413 GB, free: 6.434 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-05/0.5676, allocations: 12.12 kB / 1.413 GB, free: 6.422 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/0.5677, allocations: 11.98 kB / 1.413 GB, free: 6.41 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.148e-05/0.5677, allocations: 24.84 kB / 1.413 GB, free: 6.383 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5678, allocations: 0 / 1.413 GB, free: 6.383 MB / 1.108 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001953/0.5679, allocations: 61.56 kB / 1.413 GB, free: 6.316 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.568, allocations: 11.94 kB / 1.413 GB, free: 6.305 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.568, allocations: 4 kB / 1.413 GB, free: 6.301 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.568, allocations: 3.938 kB / 1.413 GB, free: 6.297 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.5681, allocations: 7.984 kB / 1.413 GB, free: 6.289 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5681, allocations: 4 kB / 1.413 GB, free: 6.285 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.5682, allocations: 11.98 kB / 1.413 GB, free: 6.273 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.5682, allocations: 0 / 1.413 GB, free: 6.273 MB / 1.108 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 8.833e-05/0.5683, allocations: 113.8 kB / 1.413 GB, free: 6.152 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.5684, allocations: 3.984 kB / 1.413 GB, free: 6.148 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.5684, allocations: 11.31 kB / 1.413 GB, free: 6.137 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5684, allocations: 0 / 1.413 GB, free: 6.137 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5684, allocations: 0 / 1.413 GB, free: 6.137 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.5684, allocations: 4 kB / 1.413 GB, free: 6.133 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.5685, allocations: 97.27 kB / 1.413 GB, free: 6.008 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5685, allocations: 4 kB / 1.413 GB, free: 6.004 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.5686, allocations: 3.984 kB / 1.413 GB, free: 6 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5686, allocations: 0 / 1.413 GB, free: 6 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.5686, allocations: 4 kB / 1.413 GB, free: 5.996 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5686, allocations: 0 / 1.413 GB, free: 5.996 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5686, allocations: 3.938 kB / 1.413 GB, free: 5.992 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.5687, allocations: 135.8 kB / 1.413 GB, free: 5.844 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.5687, allocations: 15.94 kB / 1.413 GB, free: 5.828 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.5687, allocations: 0 / 1.413 GB, free: 5.828 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.5688, allocations: 7.984 kB / 1.413 GB, free: 5.82 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.5689, allocations: 0 / 1.413 GB, free: 5.82 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.5689, allocations: 0 / 1.413 GB, free: 5.82 MB / 1.108 GB Notification: Performance of sorting global known variables: time 9.948e-05/0.569, allocations: 91.27 kB / 1.413 GB, free: 5.73 MB / 1.108 GB Notification: Performance of sort global known variables: time 9e-08/0.569, allocations: 0 / 1.413 GB, free: 5.73 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.0002558/0.5692, allocations: 15.97 kB / 1.413 GB, free: 5.715 MB / 1.108 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.0001911/0.5694, allocations: 113 kB / 1.413 GB, free: 5.598 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.5696, allocations: 23.86 kB / 1.413 GB, free: 5.574 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5696, allocations: 0 / 1.413 GB, free: 5.574 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.5696, allocations: 11.98 kB / 1.414 GB, free: 5.562 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.5699, allocations: 4 kB / 1.414 GB, free: 5.559 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.5703, allocations: 119.6 kB / 1.414 GB, free: 5.418 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.501e-05/0.5703, allocations: 63.28 kB / 1.414 GB, free: 5.336 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 6.246e-05/0.5704, allocations: 11.94 kB / 1.414 GB, free: 5.324 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.5704, allocations: 7.438 kB / 1.414 GB, free: 5.316 MB / 1.108 GB Notification: Performance of SimCode: time 3.01e-07/0.5704, allocations: 0 / 1.414 GB, free: 5.316 MB / 1.108 GB Notification: Performance of Templates: time 0.003654/0.5741, allocations: 0.7959 MB / 1.414 GB, free: 4.535 MB / 1.108 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 -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/jenkins/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: 9.341887176036835]