Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.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.001859/0.001859, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.002441/0.002441, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.485/1.485, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.723/2.723, allocations: 359 MB / 0.6048 GB, free: 10.97 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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.881e-05, allocations: 5.906 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002809/0.002838, allocations: 1.509 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1637/0.1666, allocations: 115.8 MB / 0.9009 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.1666, allocations: 0 / 0.9009 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.1667, allocations: 7.938 kB / 0.901 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.1667, allocations: 15.91 kB / 0.901 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.1671, allocations: 59.67 kB / 0.901 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1672, allocations: 55.78 kB / 0.9011 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.866e-05/0.1673, allocations: 11.98 kB / 0.9011 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.63e-05/0.1674, allocations: 27.91 kB / 0.9011 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.984e-05/0.1675, allocations: 15.98 kB / 0.9011 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1675, allocations: 4 kB / 0.9011 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1676, allocations: 27.92 kB / 0.9012 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.887e-05/0.1676, allocations: 4 kB / 0.9012 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.1677, allocations: 23.92 kB / 0.9012 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1679, allocations: 63.8 kB / 0.9012 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1679, allocations: 0 / 0.9012 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1679, allocations: 0 / 0.9012 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.1679, allocations: 0 / 0.9012 GB, free: 6.816 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005999/0.1685, allocations: 302.1 kB / 0.9015 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1685, allocations: 8.031 kB / 0.9015 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.1686, allocations: 4.938 kB / 0.9015 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1687, allocations: 113.7 kB / 0.9017 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1687, allocations: 16.36 kB / 0.9017 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1687, allocations: 384 / 0.9017 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.169, allocations: 78.14 kB / 0.9017 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.169, allocations: 192 / 0.9017 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.169, allocations: 4.375 kB / 0.9018 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1691, allocations: 384 / 0.9018 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.1694, allocations: 75.8 kB / 0.9018 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.1698, allocations: 220.5 kB / 0.902 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.17, allocations: 58.52 kB / 0.9021 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1702, allocations: 36.92 kB / 0.9021 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.1703, allocations: 11.98 kB / 0.9021 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.1704, allocations: 42.44 kB / 0.9022 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1704, allocations: 0 / 0.9022 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0006152/0.171, allocations: 129.6 kB / 0.9023 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.171, allocations: 51.41 kB / 0.9024 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1711, allocations: 113.8 kB / 0.9025 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1712, allocations: 25.7 kB / 0.9025 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.1712, allocations: 96.09 kB / 0.9026 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.1713, allocations: 7.891 kB / 0.9026 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.1713, allocations: 17.7 kB / 0.9026 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002316/0.1715, allocations: 314.8 kB / 0.9029 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.1717, allocations: 31.91 kB / 0.9029 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.1718, allocations: 35.95 kB / 0.903 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.1721, allocations: 72.78 kB / 0.903 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1721, allocations: 0 / 0.903 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003633/0.1725, allocations: 105.5 kB / 0.9031 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1725, allocations: 4 kB / 0.9031 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1725, allocations: 0 / 0.9031 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1725, allocations: 8 kB / 0.9031 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.1727, allocations: 11.98 kB / 0.9032 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.1727, allocations: 3.938 kB / 0.9032 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.1728, allocations: 15.97 kB / 0.9032 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1728, allocations: 0 / 0.9032 GB, free: 4.664 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.908e-05/0.1729, allocations: 113.8 kB / 0.9033 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1729, allocations: 11.89 kB / 0.9033 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.1733, allocations: 113.6 kB / 0.9034 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1733, allocations: 0 / 0.9034 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1733, allocations: 3.938 kB / 0.9034 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1733, allocations: 0 / 0.9034 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1735, allocations: 109.3 kB / 0.9035 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.1735, allocations: 0 / 0.9035 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1736, allocations: 23.97 kB / 0.9035 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1736, allocations: 0 / 0.9035 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1736, allocations: 7.938 kB / 0.9035 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1736, allocations: 0 / 0.9035 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1736, allocations: 3.938 kB / 0.9035 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.174, allocations: 187.9 kB / 0.9037 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.1741, allocations: 11.94 kB / 0.9037 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.1741, allocations: 3.984 kB / 0.9037 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.1742, allocations: 19.97 kB / 0.9038 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.1742, allocations: 7.984 kB / 0.9038 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1742, allocations: 0 / 0.9038 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.646e-05/0.1743, allocations: 87.28 kB / 0.9039 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1743, allocations: 0 / 0.9039 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002575/0.1746, allocations: 15.94 kB / 0.9039 GB, free: 3.895 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.0001876/0.1748, allocations: 103.2 kB / 0.904 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.1751, allocations: 75.86 kB / 0.904 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.1751, allocations: 0 / 0.904 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1753, allocations: 35.95 kB / 0.9041 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1756, allocations: 12 kB / 0.9041 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.176, allocations: 164.3 kB / 0.9042 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.483e-05/0.1761, allocations: 71.33 kB / 0.9043 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.1761, allocations: 4 kB / 0.9043 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.1762, allocations: 8.5 kB / 0.9043 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.1762, allocations: 0 / 0.9043 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of Templates: time 0.004064/0.1802, allocations: 1.002 MB / 0.9053 GB, free: 2.398 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.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.738669942948036]