Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001761/0.001761, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001998/0.001998, allocations: 168.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.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.827/2.827, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.16e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002418/0.002449, allocations: 1.306 MB / 0.9827 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1669/0.1694, allocations: 129.7 MB / 1.109 GB, free: 8.449 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.1694, allocations: 0 / 1.109 GB, free: 8.449 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.1694, allocations: 0 / 1.109 GB, free: 8.449 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.1695, allocations: 3.938 kB / 1.109 GB, free: 8.445 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.17, allocations: 119.3 kB / 1.109 GB, free: 8.328 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.024e-05/0.1701, allocations: 27.73 kB / 1.109 GB, free: 8.301 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.1701, allocations: 7.984 kB / 1.109 GB, free: 8.293 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.1702, allocations: 12 kB / 1.109 GB, free: 8.281 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.263e-05/0.1702, allocations: 4 kB / 1.109 GB, free: 8.277 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1702, allocations: 0 / 1.109 GB, free: 8.277 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.1706, allocations: 171.6 kB / 1.11 GB, free: 8.109 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.1707, allocations: 0 / 1.11 GB, free: 8.109 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.1707, allocations: 7.938 kB / 1.11 GB, free: 8.102 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.171, allocations: 131.6 kB / 1.11 GB, free: 7.973 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.171, allocations: 0 / 1.11 GB, free: 7.973 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.143e-06/0.171, allocations: 0 / 1.11 GB, free: 7.973 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.171, allocations: 3.984 kB / 1.11 GB, free: 7.969 MB / 1.061 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.0003642/0.1714, allocations: 282 kB / 1.11 GB, free: 7.664 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1714, allocations: 8.031 kB / 1.11 GB, free: 7.656 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006093/0.172, allocations: 40.84 kB / 1.11 GB, free: 7.617 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1721, allocations: 101.8 kB / 1.11 GB, free: 7.492 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1721, allocations: 4.375 kB / 1.11 GB, free: 7.488 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.1721, allocations: 384 / 1.11 GB, free: 7.488 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1723, allocations: 57.59 kB / 1.11 GB, free: 7.426 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1723, allocations: 0 / 1.11 GB, free: 7.426 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1723, allocations: 0 / 1.11 GB, free: 7.426 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1723, allocations: 0 / 1.11 GB, free: 7.426 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1725, allocations: 23.91 kB / 1.11 GB, free: 7.402 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.1728, allocations: 200.5 kB / 1.11 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.406e-05/0.1729, allocations: 22.58 kB / 1.11 GB, free: 7.145 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.1729, allocations: 12.92 kB / 1.111 GB, free: 7.129 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.1729, allocations: 0 / 1.111 GB, free: 7.129 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.173, allocations: 34.56 kB / 1.111 GB, free: 7.086 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.173, allocations: 0 / 1.111 GB, free: 7.086 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001559/0.1731, allocations: 45.62 kB / 1.111 GB, free: 7.035 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1731, allocations: 51.41 kB / 1.111 GB, free: 6.973 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1733, allocations: 117.8 kB / 1.111 GB, free: 6.848 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1733, allocations: 25.7 kB / 1.111 GB, free: 6.816 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.1734, allocations: 88.22 kB / 1.111 GB, free: 6.727 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.1734, allocations: 3.953 kB / 1.111 GB, free: 6.723 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.1734, allocations: 21.7 kB / 1.111 GB, free: 6.695 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1736, allocations: 318.8 kB / 1.111 GB, free: 6.375 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.1736, allocations: 8 kB / 1.111 GB, free: 6.367 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.1737, allocations: 11.98 kB / 1.111 GB, free: 6.355 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.755e-05/0.1738, allocations: 24.78 kB / 1.111 GB, free: 6.328 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1738, allocations: 0 / 1.111 GB, free: 6.328 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002076/0.174, allocations: 69.55 kB / 1.111 GB, free: 6.254 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.174, allocations: 4 kB / 1.111 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.174, allocations: 0 / 1.111 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1741, allocations: 3.984 kB / 1.111 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1742, allocations: 8 kB / 1.111 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1742, allocations: 0 / 1.111 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1743, allocations: 15.92 kB / 1.111 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1743, allocations: 8 kB / 1.111 GB, free: 6.215 MB / 1.061 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.486e-05/0.1744, allocations: 113.8 kB / 1.111 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.1744, allocations: 3.953 kB / 1.111 GB, free: 6.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.1745, allocations: 7.312 kB / 1.111 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1745, allocations: 0 / 1.111 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1745, allocations: 0 / 1.111 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1745, allocations: 0 / 1.111 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.1746, allocations: 105.3 kB / 1.112 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1746, allocations: 0 / 1.112 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.1747, allocations: 7.984 kB / 1.112 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1747, allocations: 4 kB / 1.112 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.1747, allocations: 3.938 kB / 1.112 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1747, allocations: 0 / 1.112 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1747, allocations: 0 / 1.112 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.1748, allocations: 139.5 kB / 1.112 GB, free: 5.785 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.1748, allocations: 7.922 kB / 1.112 GB, free: 5.777 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1748, allocations: 0 / 1.112 GB, free: 5.777 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1749, allocations: 4 kB / 1.112 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.1749, allocations: 0 / 1.112 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.1749, allocations: 0 / 1.112 GB, free: 5.773 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001046/0.1751, allocations: 95.3 kB / 1.112 GB, free: 5.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.1751, allocations: 0 / 1.112 GB, free: 5.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000255/0.1753, allocations: 12 kB / 1.112 GB, free: 5.668 MB / 1.061 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.0001882/0.1755, allocations: 115.7 kB / 1.112 GB, free: 5.547 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1756, allocations: 23.92 kB / 1.112 GB, free: 5.523 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.1756, allocations: 0 / 1.112 GB, free: 5.523 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.1757, allocations: 11.98 kB / 1.112 GB, free: 5.512 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.176, allocations: 15.94 kB / 1.112 GB, free: 5.496 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.1763, allocations: 112.8 kB / 1.112 GB, free: 5.359 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.811e-05/0.1763, allocations: 59.34 kB / 1.112 GB, free: 5.281 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.611e-05/0.1764, allocations: 16.55 kB / 1.112 GB, free: 5.266 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.1764, allocations: 16.38 kB / 1.112 GB, free: 5.25 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/0.1764, allocations: 0 / 1.112 GB, free: 5.25 MB / 1.061 GB Notification: Performance of Templates: time 0.003514/0.18, allocations: 0.7908 MB / 1.113 GB, free: 4.477 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.076345942914486]