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.0007325/0.0007325, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009832/0.001716, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007361/0.0007361, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008709/0.001607, allocations: 459.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9682/0.9682, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08299/1.051, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.876/1.876, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4753/2.351, allocations: 123.3 MB / 0.728 GB, free: 5.844 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.473e-06/1.473e-06, allocations: 0 / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.975e-05, allocations: 3.297 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002832/0.002862, allocations: 1.374 MB / 0.7307 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1741/0.177, allocations: 143.3 MB / 0.8706 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.177, allocations: 0 / 0.8706 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.143e-05/0.177, allocations: 7.938 kB / 0.8706 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.177, allocations: 7.922 kB / 0.8706 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1773, allocations: 115.3 kB / 0.8707 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.839e-05/0.1773, allocations: 23.88 kB / 0.8707 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.473e-05/0.1774, allocations: 3.984 kB / 0.8707 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.1774, allocations: 11.88 kB / 0.8708 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.697e-05/0.1774, allocations: 15.91 kB / 0.8708 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.607e-06/0.1775, allocations: 3.938 kB / 0.8708 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.1777, allocations: 171.7 kB / 0.8709 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.532e-06/0.1777, allocations: 0 / 0.8709 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.091e-05/0.1777, allocations: 4 kB / 0.8709 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1779, allocations: 115.7 kB / 0.8711 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.1779, allocations: 0 / 0.8711 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1779, allocations: 0 / 0.8711 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.1779, allocations: 0 / 0.8711 GB, free: 3.105 MB / 0.8386 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.0002416/0.1781, allocations: 272.3 kB / 0.8713 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.543e-05/0.1782, allocations: 8.031 kB / 0.8713 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003248/0.1785, allocations: 125.9 kB / 0.8714 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.387e-05/0.1786, allocations: 109.8 kB / 0.8715 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.1786, allocations: 384 / 0.8715 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-06/0.1786, allocations: 384 / 0.8715 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.1787, allocations: 62.31 kB / 0.8716 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.1787, allocations: 0 / 0.8716 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.1787, allocations: 3.938 kB / 0.8716 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1787, allocations: 0 / 0.8716 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.1787, allocations: 15.92 kB / 0.8716 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.1789, allocations: 148.3 kB / 0.8718 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.002e-05/0.1789, allocations: 18.58 kB / 0.8718 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.1789, allocations: 16.86 kB / 0.8718 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-06/0.1789, allocations: 0 / 0.8718 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1789, allocations: 30.56 kB / 0.8718 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.1789, allocations: 0 / 0.8718 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 8.297e-05/0.179, allocations: 41.77 kB / 0.8719 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.179, allocations: 55.44 kB / 0.8719 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.693e-05/0.1791, allocations: 114.7 kB / 0.872 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.1791, allocations: 29.7 kB / 0.8721 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.1791, allocations: 84.09 kB / 0.8721 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.417e-06/0.1792, allocations: 7.891 kB / 0.8721 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.1792, allocations: 21.7 kB / 0.8722 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.1792, allocations: 314.8 kB / 0.8725 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.1793, allocations: 4 kB / 0.8725 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-06/0.1793, allocations: 4 kB / 0.8725 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.1793, allocations: 20.83 kB / 0.8725 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1793, allocations: 0 / 0.8725 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.565e-05/0.1794, allocations: 49.56 kB / 0.8725 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.1794, allocations: 4 kB / 0.8725 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1794, allocations: 4 kB / 0.8726 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-06/0.1794, allocations: 0 / 0.8726 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.409e-05/0.1794, allocations: 11.98 kB / 0.8726 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.1794, allocations: 3.984 kB / 0.8726 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.1795, allocations: 4 kB / 0.8726 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.1795, allocations: 7.984 kB / 0.8726 GB, free: 1.367 MB / 0.8386 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 4.561e-05/0.1795, allocations: 109.8 kB / 0.8727 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.1795, allocations: 7.938 kB / 0.8727 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.523e-05/0.1796, allocations: 7.297 kB / 0.8727 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1796, allocations: 0 / 0.8727 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1796, allocations: 0 / 0.8727 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1796, allocations: 4 kB / 0.8727 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.962e-05/0.1796, allocations: 57.91 kB / 0.8728 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1796, allocations: 7.938 kB / 0.8728 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-06/0.1796, allocations: 3.938 kB / 0.8728 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.1797, allocations: 11.94 kB / 0.8728 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1797, allocations: 0 / 0.8728 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-06/0.1797, allocations: 3.984 kB / 0.8728 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.1797, allocations: 0 / 0.8728 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1797, allocations: 0 / 0.8728 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.687e-05/0.1797, allocations: 131.6 kB / 0.8729 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.1797, allocations: 3.938 kB / 0.8729 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.1798, allocations: 3.984 kB / 0.8729 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-06/0.1798, allocations: 0 / 0.8729 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.1798, allocations: 4 kB / 0.8729 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.63e-05/0.1798, allocations: 16.88 kB / 0.8729 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.1798, allocations: 0 / 0.8729 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001282/0.1799, allocations: 15.94 kB / 0.8729 GB, free: 0.9375 MB / 0.8386 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.0001086/0.18, allocations: 88.41 kB / 0.873 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.049e-05/0.1801, allocations: 20.78 kB / 0.8731 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1801, allocations: 0 / 0.8731 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.193e-06/0.1801, allocations: 8.859 kB / 0.8731 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.1802, allocations: 27.92 kB / 0.8731 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.1811, allocations: 132.6 kB / 0.8732 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.692e-05/0.1811, allocations: 55.34 kB / 0.8733 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.633e-05/0.1811, allocations: 12.5 kB / 0.8733 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.1812, allocations: 55.36 kB / 0.8733 GB, free: 496 kB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/0.1812, allocations: 0 / 0.8733 GB, free: 496 kB / 0.8386 GB Notification: Performance of Templates: time 0.002074/0.1832, allocations: 0.9114 MB / 0.8742 GB, free: 15.59 MB / 0.8542 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.011343060992658]