Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.002068/0.002068, allocations: 78.17 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.002379/0.002379, allocations: 169.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.424/1.424, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.862/2.862, allocations: 389 MB / 0.633 GB, free: 0.9844 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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.508e-05/3.749e-05, allocations: 5.516 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002719/0.002757, allocations: 1.3 MB / 1.001 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1725/0.1752, allocations: 115.8 MB / 1.114 GB, free: 1.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.1753, allocations: 3.938 kB / 1.114 GB, free: 1.766 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.1753, allocations: 3.984 kB / 1.114 GB, free: 1.762 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.1753, allocations: 3.984 kB / 1.114 GB, free: 1.758 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.1757, allocations: 47.75 kB / 1.115 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.1758, allocations: 27.8 kB / 1.115 GB, free: 1.684 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.1758, allocations: 15.92 kB / 1.115 GB, free: 1.668 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.327e-05/0.1759, allocations: 11.98 kB / 1.115 GB, free: 1.656 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/0.1759, allocations: 4 kB / 1.115 GB, free: 1.652 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.176, allocations: 4 kB / 1.115 GB, free: 1.648 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.176, allocations: 11.98 kB / 1.115 GB, free: 1.637 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.1761, allocations: 7.938 kB / 1.115 GB, free: 1.629 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.1761, allocations: 7.984 kB / 1.115 GB, free: 1.621 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.1762, allocations: 27.91 kB / 1.115 GB, free: 1.594 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1762, allocations: 0 / 1.115 GB, free: 1.594 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1762, allocations: 0 / 1.115 GB, free: 1.594 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.1762, allocations: 0 / 1.115 GB, free: 1.594 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.0003934/0.1766, allocations: 262.3 kB / 1.115 GB, free: 1.305 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1766, allocations: 12.03 kB / 1.115 GB, free: 1.293 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.1768, allocations: 8.922 kB / 1.115 GB, free: 1.285 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1769, allocations: 117.7 kB / 1.115 GB, free: 1.145 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.115e-05/0.177, allocations: 55.97 kB / 1.115 GB, free: 1.078 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.177, allocations: 4.312 kB / 1.115 GB, free: 1.074 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.1771, allocations: 38.25 kB / 1.115 GB, free: 1.031 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1771, allocations: 192 / 1.115 GB, free: 1.031 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1771, allocations: 4.375 kB / 1.115 GB, free: 1.027 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1772, allocations: 12.11 kB / 1.115 GB, free: 1.016 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.538e-05/0.1772, allocations: 8 kB / 1.115 GB, free: 1.008 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.1774, allocations: 105.3 kB / 1.115 GB, free: 0.875 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1775, allocations: 30.52 kB / 1.115 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.1776, allocations: 16.92 kB / 1.115 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.1776, allocations: 0 / 1.115 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1776, allocations: 38.56 kB / 1.115 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1776, allocations: 0 / 1.115 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002647/0.1779, allocations: 61.62 kB / 1.115 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1779, allocations: 51.41 kB / 1.115 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.178, allocations: 97.8 kB / 1.116 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.178, allocations: 29.7 kB / 1.116 GB, free: 0.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.1781, allocations: 88.08 kB / 1.116 GB, free: 420 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.1781, allocations: 11.88 kB / 1.116 GB, free: 408 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.1781, allocations: 13.72 kB / 1.116 GB, free: 388 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1783, allocations: 314.8 kB / 1.116 GB, free: 64 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.704e-05/0.1783, allocations: 4 kB / 1.116 GB, free: 60 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/0.1783, allocations: 7.984 kB / 1.116 GB, free: 52 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.437e-05/0.1784, allocations: 28.84 kB / 1.116 GB, free: 20 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1784, allocations: 0 / 1.116 GB, free: 20 kB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001515/0.1786, allocations: 50.16 kB / 1.116 GB, free: 15.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1786, allocations: 8 kB / 1.116 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1786, allocations: 0 / 1.116 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1786, allocations: 0 / 1.116 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.1787, allocations: 7.938 kB / 1.116 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1787, allocations: 3.938 kB / 1.116 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/0.1787, allocations: 7.984 kB / 1.116 GB, free: 15.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1788, allocations: 4 kB / 1.116 GB, free: 15.93 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.84e-05/0.1788, allocations: 105.8 kB / 1.116 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1789, allocations: 11.98 kB / 1.116 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.1789, allocations: 7.688 kB / 1.116 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1789, allocations: 0 / 1.116 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1789, allocations: 4 kB / 1.116 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.1789, allocations: 3.938 kB / 1.116 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.631e-05/0.179, allocations: 105.3 kB / 1.116 GB, free: 15.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.179, allocations: 0 / 1.116 GB, free: 15.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.179, allocations: 8 kB / 1.116 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.179, allocations: 4 kB / 1.116 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1791, allocations: 3.938 kB / 1.116 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1791, allocations: 0 / 1.116 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1791, allocations: 3.938 kB / 1.116 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.1792, allocations: 80.98 kB / 1.116 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.1792, allocations: 4 kB / 1.116 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.1793, allocations: 0 / 1.116 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.1793, allocations: 0 / 1.116 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.1793, allocations: 7.984 kB / 1.116 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1793, allocations: 4 kB / 1.116 GB, free: 15.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.059e-05/0.1794, allocations: 83.22 kB / 1.116 GB, free: 15.44 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.1794, allocations: 0 / 1.116 GB, free: 15.44 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001835/0.1796, allocations: 8 kB / 1.116 GB, free: 15.43 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 (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 Backend phase and start with SimCode phase: time 0.0001355/0.1797, allocations: 95.23 kB / 1.117 GB, free: 15.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.1798, allocations: 19.98 kB / 1.117 GB, free: 15.31 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1798, allocations: 0 / 1.117 GB, free: 15.31 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.162e-05/0.1799, allocations: 15.92 kB / 1.117 GB, free: 15.29 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.1801, allocations: 12 kB / 1.117 GB, free: 15.28 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.1804, allocations: 119.2 kB / 1.117 GB, free: 15.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.426e-05/0.1805, allocations: 59.36 kB / 1.117 GB, free: 15.06 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.345e-05/0.1805, allocations: 7.984 kB / 1.117 GB, free: 15.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.1806, allocations: 8.5 kB / 1.117 GB, free: 15.05 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/0.1806, allocations: 0 / 1.117 GB, free: 15.05 MB / 1.076 GB Notification: Performance of Templates: time 0.002871/0.1834, allocations: 479.9 kB / 1.117 GB, free: 14.59 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.125618193298578]