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.001864/0.001864, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002549/0.002549, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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 3.153/3.153, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 1.342e-06/1.342e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.838e-05, allocations: 3.188 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002557/0.002585, allocations: 1.308 MB / 0.8789 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1633/0.1659, allocations: 115.8 MB / 0.9919 GB, free: 0.9805 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.1659, allocations: 4 kB / 0.9919 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.166, allocations: 0 / 0.9919 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.166, allocations: 7.875 kB / 0.9919 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.1664, allocations: 47.73 kB / 0.992 GB, free: 0.9219 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 8.898e-05/0.1665, allocations: 27.86 kB / 0.992 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.245e-05/0.1665, allocations: 0 / 0.992 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.005e-05/0.1666, allocations: 11.98 kB / 0.992 GB, free: 0.8828 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.1667, allocations: 23.91 kB / 0.992 GB, free: 0.8594 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1667, allocations: 0 / 0.992 GB, free: 0.8594 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.162e-05/0.1668, allocations: 15.94 kB / 0.9921 GB, free: 0.8438 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.1668, allocations: 3.984 kB / 0.9921 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1668, allocations: 4 kB / 0.9921 GB, free: 0.8359 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1669, allocations: 31.86 kB / 0.9921 GB, free: 0.8047 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.1669, allocations: 0 / 0.9921 GB, free: 0.8047 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.167, allocations: 0 / 0.9921 GB, free: 0.8047 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.167, allocations: 0 / 0.9921 GB, free: 0.8047 MB / 0.948 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.000445/0.1674, allocations: 258.3 kB / 0.9923 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1674, allocations: 12.03 kB / 0.9924 GB, free: 0.5078 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.1676, allocations: 16.86 kB / 0.9924 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1677, allocations: 109.8 kB / 0.9925 GB, free: 368 kB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.1678, allocations: 63.95 kB / 0.9925 GB, free: 292 kB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.1679, allocations: 384 / 0.9925 GB, free: 292 kB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.168, allocations: 42.19 kB / 0.9926 GB, free: 244 kB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.168, allocations: 192 / 0.9926 GB, free: 244 kB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.168, allocations: 384 / 0.9926 GB, free: 244 kB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.168, allocations: 4.125 kB / 0.9926 GB, free: 240 kB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.1681, allocations: 23.97 kB / 0.9926 GB, free: 216 kB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.1683, allocations: 105.3 kB / 0.9927 GB, free: 80 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1684, allocations: 30.61 kB / 0.9927 GB, free: 40 kB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.1684, allocations: 8.859 kB / 0.9927 GB, free: 28 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.1685, allocations: 4 kB / 0.9928 GB, free: 24 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/0.1685, allocations: 34.5 kB / 0.9928 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1685, allocations: 0 / 0.9928 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002631/0.1688, allocations: 61.77 kB / 0.9928 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.1688, allocations: 51.41 kB / 0.9929 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.1689, allocations: 105.8 kB / 0.993 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.169, allocations: 25.7 kB / 0.993 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.169, allocations: 84.14 kB / 0.9931 GB, free: 15.62 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.169, allocations: 7.891 kB / 0.9931 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.1691, allocations: 17.67 kB / 0.9931 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1693, allocations: 314.8 kB / 0.9934 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.1693, allocations: 11.98 kB / 0.9934 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.785e-05/0.1693, allocations: 4 kB / 0.9934 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.1694, allocations: 24.78 kB / 0.9935 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1695, allocations: 4 kB / 0.9935 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001418/0.1696, allocations: 49.69 kB / 0.9935 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1696, allocations: 7.938 kB / 0.9935 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1696, allocations: 0 / 0.9935 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1696, allocations: 4 kB / 0.9935 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.1697, allocations: 11.98 kB / 0.9935 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1697, allocations: 3.938 kB / 0.9935 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.1698, allocations: 4 kB / 0.9935 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1698, allocations: 4 kB / 0.9935 GB, free: 15.14 MB / 0.9636 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 9.729e-05/0.1699, allocations: 113.8 kB / 0.9937 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.1699, allocations: 4 kB / 0.9937 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.1699, allocations: 7.688 kB / 0.9937 GB, free: 15 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1699, allocations: 0 / 0.9937 GB, free: 15 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1699, allocations: 0 / 0.9937 GB, free: 15 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.1699, allocations: 7.922 kB / 0.9937 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.17, allocations: 101.3 kB / 0.9938 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.17, allocations: 0 / 0.9938 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.1701, allocations: 4 kB / 0.9938 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1701, allocations: 0.5156 kB / 0.9938 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1701, allocations: 4 kB / 0.9938 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1701, allocations: 4 kB / 0.9938 GB, free: 14.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1701, allocations: 0 / 0.9938 GB, free: 14.85 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1703, allocations: 81.03 kB / 0.9939 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.1703, allocations: 7.953 kB / 0.9939 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1703, allocations: 0 / 0.9939 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.1704, allocations: 3.984 kB / 0.9939 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.1704, allocations: 7.938 kB / 0.9939 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1704, allocations: 4 kB / 0.9939 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.149e-05/0.1705, allocations: 79.22 kB / 0.994 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1705, allocations: 0 / 0.994 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002392/0.1707, allocations: 12 kB / 0.994 GB, free: 14.64 MB / 0.9636 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.0001269/0.1708, allocations: 95.23 kB / 0.9941 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.171, allocations: 19.98 kB / 0.9941 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.171, allocations: 0 / 0.9941 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.171, allocations: 8 kB / 0.9941 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.1713, allocations: 19.86 kB / 0.9941 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.1716, allocations: 116.8 kB / 0.9942 GB, free: 14.35 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.715e-05/0.1717, allocations: 71.14 kB / 0.9943 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.1717, allocations: 0 / 0.9943 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.1718, allocations: 12.5 kB / 0.9943 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.1718, allocations: 4 kB / 0.9943 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of Templates: time 0.003218/0.175, allocations: 0.4924 MB / 0.9948 GB, free: 13.77 MB / 0.9636 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.304273426998407]