Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002005/0.002005, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002603/0.002603, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.465/1.465, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.685/2.685, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.17e-05, allocations: 3.406 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002698/0.00273, allocations: 1.293 MB / 0.7876 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1662/0.169, allocations: 115.8 MB / 0.9007 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.169, allocations: 0 / 0.9007 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.169, allocations: 7.938 kB / 0.9007 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.1691, allocations: 3.938 kB / 0.9007 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.1695, allocations: 51.73 kB / 0.9008 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.098e-05/0.1696, allocations: 27.86 kB / 0.9008 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.1696, allocations: 0 / 0.9008 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.876e-05/0.1697, allocations: 11.98 kB / 0.9008 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.1697, allocations: 15.91 kB / 0.9008 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1698, allocations: 0 / 0.9008 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.1699, allocations: 19.94 kB / 0.9008 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.1699, allocations: 7.984 kB / 0.9009 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.1699, allocations: 4 kB / 0.9009 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.17, allocations: 31.86 kB / 0.9009 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.17, allocations: 0 / 0.9009 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.343e-06/0.17, allocations: 0 / 0.9009 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.17, allocations: 0 / 0.9009 GB, free: 7.172 MB / 0.8542 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.0004341/0.1705, allocations: 254.3 kB / 0.9011 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1705, allocations: 12.02 kB / 0.9011 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.1706, allocations: 8.891 kB / 0.9012 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1707, allocations: 105.8 kB / 0.9013 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.1708, allocations: 59.97 kB / 0.9013 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1708, allocations: 4.375 kB / 0.9013 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1709, allocations: 38.19 kB / 0.9013 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1709, allocations: 192 / 0.9013 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1709, allocations: 384 / 0.9013 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.171, allocations: 8.125 kB / 0.9014 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.126e-05/0.171, allocations: 15.98 kB / 0.9014 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.1712, allocations: 101.4 kB / 0.9015 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1713, allocations: 34.56 kB / 0.9015 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.691e-05/0.1714, allocations: 16.94 kB / 0.9015 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.1715, allocations: 8 kB / 0.9015 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.1716, allocations: 42.48 kB / 0.9016 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1716, allocations: 0 / 0.9016 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0002655/0.1718, allocations: 53.69 kB / 0.9016 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1719, allocations: 51.41 kB / 0.9017 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.172, allocations: 106 kB / 0.9018 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.172, allocations: 25.7 kB / 0.9018 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.172, allocations: 88.14 kB / 0.9019 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1721, allocations: 15.84 kB / 0.9019 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.1721, allocations: 13.72 kB / 0.9019 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1723, allocations: 314.8 kB / 0.9022 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/0.1723, allocations: 8 kB / 0.9022 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.1724, allocations: 11.92 kB / 0.9022 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.1725, allocations: 24.8 kB / 0.9022 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1725, allocations: 0 / 0.9022 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001429/0.1726, allocations: 53.67 kB / 0.9023 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1726, allocations: 8 kB / 0.9023 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1726, allocations: 0 / 0.9023 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1726, allocations: 0 / 0.9023 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.722e-05/0.1727, allocations: 4 kB / 0.9023 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1727, allocations: 7.938 kB / 0.9023 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.1728, allocations: 0 / 0.9023 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.1728, allocations: 0 / 0.9023 GB, free: 5.52 MB / 0.8542 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.687e-05/0.1729, allocations: 121.8 kB / 0.9024 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.1729, allocations: 0 / 0.9024 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.1731, allocations: 61.36 kB / 0.9025 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1731, allocations: 0 / 0.9025 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1731, allocations: 0 / 0.9025 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1731, allocations: 3.938 kB / 0.9025 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.1732, allocations: 105.3 kB / 0.9026 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1732, allocations: 0 / 0.9026 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.1732, allocations: 8 kB / 0.9026 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1732, allocations: 3.984 kB / 0.9026 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1732, allocations: 4 kB / 0.9026 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1732, allocations: 0 / 0.9026 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1732, allocations: 0 / 0.9026 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.1734, allocations: 85 kB / 0.9027 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.1735, allocations: 7.984 kB / 0.9027 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.1735, allocations: 0 / 0.9027 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.016e-05/0.1735, allocations: 0 / 0.9027 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1735, allocations: 0 / 0.9027 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1735, allocations: 4 kB / 0.9027 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.1736, allocations: 83.62 kB / 0.9028 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1736, allocations: 0 / 0.9028 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002077/0.1738, allocations: 19.94 kB / 0.9028 GB, free: 4.953 MB / 0.8542 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.0001779/0.174, allocations: 107.2 kB / 0.9029 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.1741, allocations: 19.92 kB / 0.9029 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.1741, allocations: 4 kB / 0.9029 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.015e-05/0.1742, allocations: 12.17 kB / 0.9029 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.1744, allocations: 9.703 kB / 0.9029 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.1748, allocations: 116.7 kB / 0.9031 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.299e-05/0.1748, allocations: 67.34 kB / 0.9031 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.011e-05/0.1749, allocations: 11.91 kB / 0.9031 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.1749, allocations: 12.5 kB / 0.9031 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.1749, allocations: 0 / 0.9031 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of Templates: time 0.003224/0.1781, allocations: 0.5482 MB / 0.9037 GB, free: 4.016 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.707390668918379]