Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.000799/0.000799, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008025/0.0008025, allocations: 174.3 kB / 23.21 MB, free: 1.355 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 0.8661/0.8661, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.831/1.831, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.231e-05, allocations: 2.281 kB / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001703/0.001725, allocations: 1.278 MB / 1.002 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0004148/0.00214, allocations: 271.1 kB / 1.002 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.002164, allocations: 0 / 1.002 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.002183, allocations: 3.938 kB / 1.002 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.002226, allocations: 11.91 kB / 1.002 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.002491, allocations: 47.7 kB / 1.002 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.447e-05/0.002555, allocations: 23.91 kB / 1.002 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.002598, allocations: 4 kB / 1.002 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.002654, allocations: 7.938 kB / 1.002 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 5.014e-05/0.002704, allocations: 7.984 kB / 1.002 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.002718, allocations: 0 / 1.002 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-05/0.00281, allocations: 55.89 kB / 1.003 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.002821, allocations: 0 / 1.003 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.002841, allocations: 15.98 kB / 1.003 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.00296, allocations: 43.89 kB / 1.003 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.002961, allocations: 4 kB / 1.003 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.052e-06/0.002962, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.269e-06/0.002967, allocations: 3.938 kB / 1.003 GB, free: 10.11 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003144/0.003281, allocations: 262.3 kB / 1.003 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.003321, allocations: 12.73 kB / 1.003 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.003473, allocations: 20.92 kB / 1.003 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.013e-05/0.003543, allocations: 109.7 kB / 1.003 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.003555, allocations: 384 / 1.003 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.003564, allocations: 4.375 kB / 1.003 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.003678, allocations: 71.95 kB / 1.003 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.003685, allocations: 192 / 1.003 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.003696, allocations: 384 / 1.003 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.003701, allocations: 384 / 1.003 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.351e-05/0.003744, allocations: 23.86 kB / 1.003 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.003853, allocations: 105.3 kB / 1.003 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.004706, allocations: 274.4 kB / 1.003 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.004736, allocations: 16.84 kB / 1.003 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.004746, allocations: 4 kB / 1.003 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.004764, allocations: 30.56 kB / 1.004 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.004765, allocations: 0 / 1.004 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001411/0.004906, allocations: 65.62 kB / 1.004 GB, free: 9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.004934, allocations: 51.41 kB / 1.004 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.598e-05/0.00498, allocations: 97.8 kB / 1.004 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.004992, allocations: 29.83 kB / 1.004 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.06e-05/0.005012, allocations: 92.06 kB / 1.004 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.005038, allocations: 7.906 kB / 1.004 GB, free: 8.695 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.005065, allocations: 17.72 kB / 1.004 GB, free: 8.672 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.00514, allocations: 314.8 kB / 1.004 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.005155, allocations: 8 kB / 1.004 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.005168, allocations: 7.984 kB / 1.004 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.656e-05/0.005204, allocations: 24.86 kB / 1.004 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.005207, allocations: 0 / 1.004 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.56e-05/0.005262, allocations: 57.62 kB / 1.004 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.005273, allocations: 7.938 kB / 1.004 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005278, allocations: 4 kB / 1.004 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.005288, allocations: 0 / 1.004 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.677e-05/0.005325, allocations: 8 kB / 1.004 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.00533, allocations: 0 / 1.004 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.005345, allocations: 7.938 kB / 1.004 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.00535, allocations: 0 / 1.004 GB, free: 8.223 MB / 0.9167 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 (4): * Single equations (assignments): 4 * 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 5.127e-05/0.005401, allocations: 113.8 kB / 1.004 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-06/0.005406, allocations: 0 / 1.004 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.005429, allocations: 7.531 kB / 1.004 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.00543, allocations: 0 / 1.004 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.005434, allocations: 4 kB / 1.004 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005437, allocations: 7.938 kB / 1.004 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.006e-05/0.005497, allocations: 109.3 kB / 1.005 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005498, allocations: 0 / 1.005 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.005517, allocations: 11.92 kB / 1.005 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-07/0.005518, allocations: 0 / 1.005 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.005523, allocations: 0 / 1.005 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005524, allocations: 4 kB / 1.005 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005524, allocations: 0 / 1.005 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.784e-05/0.005592, allocations: 81.39 kB / 1.005 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.005631, allocations: 11.97 kB / 1.005 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.00564, allocations: 4 kB / 1.005 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.00567, allocations: 3.984 kB / 1.005 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.005683, allocations: 0 / 1.005 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.005686, allocations: 4 kB / 1.005 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.14e-05/0.005707, allocations: 75.28 kB / 1.005 GB, free: 7.727 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005707, allocations: 0 / 1.005 GB, free: 7.727 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001241/0.005832, allocations: 15.94 kB / 1.005 GB, free: 7.711 MB / 0.9167 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 (4): * Single equations (assignments): 4 * 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 7.102e-05/0.005903, allocations: 99.19 kB / 1.005 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.005982, allocations: 23.98 kB / 1.005 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.005983, allocations: 4.094 kB / 1.005 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.461e-05/0.005998, allocations: 15.98 kB / 1.005 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.006156, allocations: 13.97 kB / 1.005 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.006418, allocations: 151.2 kB / 1.005 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.761e-05/0.006455, allocations: 59.34 kB / 1.005 GB, free: 7.293 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.006486, allocations: 12.5 kB / 1.005 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.006487, allocations: 4 kB / 1.005 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of Templates: time 0.001318/0.007805, allocations: 0.5385 MB / 1.006 GB, free: 6.738 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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: 6.427855850197375]