Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001883/0.001883, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.002265/0.002265, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.678/1.678, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.935/2.935, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.76e-05, allocations: 2.281 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002719/0.002747, allocations: 1.315 MB / 1.001 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1696/0.1723, allocations: 129.7 MB / 1.128 GB, free: 3.816 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.1723, allocations: 3.938 kB / 1.128 GB, free: 3.812 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.1724, allocations: 0 / 1.128 GB, free: 3.812 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-05/0.1724, allocations: 7.969 kB / 1.128 GB, free: 3.805 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.1729, allocations: 119.3 kB / 1.128 GB, free: 3.688 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.947e-05/0.1729, allocations: 19.86 kB / 1.128 GB, free: 3.668 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.173, allocations: 7.938 kB / 1.128 GB, free: 3.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.351e-05/0.173, allocations: 11.98 kB / 1.128 GB, free: 3.648 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.16e-05/0.1731, allocations: 11.98 kB / 1.128 GB, free: 3.637 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1731, allocations: 0 / 1.128 GB, free: 3.637 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.1735, allocations: 163.6 kB / 1.128 GB, free: 3.477 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.1735, allocations: 3.984 kB / 1.128 GB, free: 3.473 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.1735, allocations: 11.92 kB / 1.128 GB, free: 3.461 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.1738, allocations: 127.7 kB / 1.128 GB, free: 3.336 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1738, allocations: 0 / 1.128 GB, free: 3.336 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1738, allocations: 0 / 1.128 GB, free: 3.336 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.1738, allocations: 3.938 kB / 1.128 GB, free: 3.332 MB / 1.076 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.0003562/0.1741, allocations: 278 kB / 1.129 GB, free: 3.031 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1742, allocations: 8.031 kB / 1.129 GB, free: 3.023 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005783/0.1747, allocations: 44.88 kB / 1.129 GB, free: 2.98 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.1748, allocations: 109.7 kB / 1.129 GB, free: 2.848 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1748, allocations: 4.312 kB / 1.129 GB, free: 2.844 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1749, allocations: 384 / 1.129 GB, free: 2.844 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.175, allocations: 53.59 kB / 1.129 GB, free: 2.785 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.175, allocations: 4 kB / 1.129 GB, free: 2.781 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1751, allocations: 3.984 kB / 1.129 GB, free: 2.777 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1751, allocations: 4 kB / 1.129 GB, free: 2.773 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.1752, allocations: 11.98 kB / 1.129 GB, free: 2.762 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.1755, allocations: 204.5 kB / 1.129 GB, free: 2.531 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.433e-05/0.1756, allocations: 22.58 kB / 1.129 GB, free: 2.5 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.243e-05/0.1756, allocations: 8.922 kB / 1.129 GB, free: 2.488 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.1756, allocations: 4 kB / 1.129 GB, free: 2.484 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1757, allocations: 42.55 kB / 1.129 GB, free: 2.434 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1757, allocations: 0 / 1.129 GB, free: 2.434 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.1758, allocations: 41.59 kB / 1.129 GB, free: 2.387 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1759, allocations: 51.41 kB / 1.129 GB, free: 2.324 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.176, allocations: 113.8 kB / 1.129 GB, free: 2.203 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.176, allocations: 25.7 kB / 1.129 GB, free: 2.172 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.1761, allocations: 84.12 kB / 1.13 GB, free: 2.086 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.1761, allocations: 3.953 kB / 1.13 GB, free: 2.082 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.1761, allocations: 29.83 kB / 1.13 GB, free: 2.047 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.1763, allocations: 310.8 kB / 1.13 GB, free: 1.734 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.1763, allocations: 7.984 kB / 1.13 GB, free: 1.727 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.1764, allocations: 11.98 kB / 1.13 GB, free: 1.715 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.468e-05/0.1765, allocations: 20.8 kB / 1.13 GB, free: 1.691 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1765, allocations: 0 / 1.13 GB, free: 1.691 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002105/0.1767, allocations: 73.55 kB / 1.13 GB, free: 1.613 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1767, allocations: 4 kB / 1.13 GB, free: 1.609 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1767, allocations: 0 / 1.13 GB, free: 1.609 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1767, allocations: 0 / 1.13 GB, free: 1.609 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1768, allocations: 11.98 kB / 1.13 GB, free: 1.598 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1769, allocations: 4 kB / 1.13 GB, free: 1.594 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.177, allocations: 11.98 kB / 1.13 GB, free: 1.582 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.177, allocations: 4 kB / 1.13 GB, free: 1.578 MB / 1.076 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 7.943e-05/0.1771, allocations: 113.8 kB / 1.13 GB, free: 1.457 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.1771, allocations: 4 kB / 1.13 GB, free: 1.453 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.1771, allocations: 7.25 kB / 1.13 GB, free: 1.445 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1771, allocations: 0 / 1.13 GB, free: 1.445 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1771, allocations: 0 / 1.13 GB, free: 1.445 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1772, allocations: 0 / 1.13 GB, free: 1.445 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.1773, allocations: 109.2 kB / 1.13 GB, free: 1.309 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1773, allocations: 0 / 1.13 GB, free: 1.309 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.1773, allocations: 4 kB / 1.13 GB, free: 1.305 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1773, allocations: 3.938 kB / 1.13 GB, free: 1.301 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.1773, allocations: 0 / 1.13 GB, free: 1.301 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-06/0.1773, allocations: 4 kB / 1.13 GB, free: 1.297 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1773, allocations: 3.938 kB / 1.13 GB, free: 1.293 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.1775, allocations: 143.8 kB / 1.13 GB, free: 1.137 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.1775, allocations: 7.891 kB / 1.13 GB, free: 1.129 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.1775, allocations: 4 kB / 1.13 GB, free: 1.125 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1776, allocations: 0 / 1.13 GB, free: 1.125 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.1776, allocations: 7.969 kB / 1.13 GB, free: 1.117 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1776, allocations: 4 kB / 1.13 GB, free: 1.113 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001029/0.1777, allocations: 91.27 kB / 1.131 GB, free: 1.023 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1777, allocations: 4.031 kB / 1.131 GB, free: 1.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000252/0.178, allocations: 12 kB / 1.131 GB, free: 1.008 MB / 1.076 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.0001817/0.1782, allocations: 111.2 kB / 1.131 GB, free: 0.8867 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.1783, allocations: 23.92 kB / 1.131 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.1783, allocations: 0 / 1.131 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.1783, allocations: 4 kB / 1.131 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1787, allocations: 19.98 kB / 1.131 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.1789, allocations: 116.8 kB / 1.131 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.524e-05/0.179, allocations: 55.36 kB / 1.131 GB, free: 0.625 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.921e-05/0.1791, allocations: 11.98 kB / 1.131 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.1791, allocations: 8.5 kB / 1.131 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.1791, allocations: 0 / 1.131 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of Templates: time 0.5266/0.7057, allocations: 0.7839 MB / 1.132 GB, free: 48.95 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.024612091481686]