Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001848/0.001848, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002068/0.002068, allocations: 161.7 kB / 23.55 MB, free: 0.875 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.569/1.569, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.058/3.058, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.349e-05, allocations: 3.219 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002463/0.002497, allocations: 1.295 MB / 0.8121 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005922/0.003089, allocations: 284.7 kB / 0.8123 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.003109, allocations: 0.9688 kB / 0.8123 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.003126, allocations: 3.938 kB / 0.8123 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.003176, allocations: 5.062 kB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.003461, allocations: 58.11 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.003527, allocations: 19.92 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.18e-05/0.003558, allocations: 0 / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.806e-05/0.003617, allocations: 11.94 kB / 0.8124 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.003664, allocations: 11.97 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.003678, allocations: 0 / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.003806, allocations: 51.95 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.003817, allocations: 1.406 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.003837, allocations: 4 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.003992, allocations: 59.75 kB / 0.8126 GB, free: 308 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003994, allocations: 0 / 0.8126 GB, free: 308 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003994, allocations: 0.6562 kB / 0.8126 GB, free: 308 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.003998, allocations: 0 / 0.8126 GB, free: 308 kB / 0.7605 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.000486/0.004484, allocations: 373.4 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.004517, allocations: 8.031 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.004754, allocations: 25.34 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.00487, allocations: 114 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.00488, allocations: 384 / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.004889, allocations: 384 / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.005016, allocations: 69.11 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.005023, allocations: 192 / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.005032, allocations: 4.375 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.005036, allocations: 1.219 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.99e-05/0.005096, allocations: 23.86 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.005266, allocations: 116.6 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.007162, allocations: 282.3 kB / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.007212, allocations: 23.67 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.007227, allocations: 5.125 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.007267, allocations: 33.39 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.007268, allocations: 0 / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.000186/0.007454, allocations: 66.16 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.007496, allocations: 51.94 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.007614, allocations: 158.8 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.007637, allocations: 29.7 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.007705, allocations: 131.6 kB / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.007739, allocations: 15.84 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.007782, allocations: 20.28 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002579/0.00804, allocations: 496.1 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.008059, allocations: 4 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.008085, allocations: 16.83 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.422e-05/0.00814, allocations: 27.69 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.008141, allocations: 1.281 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.913e-05/0.00824, allocations: 57.62 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.008258, allocations: 8 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.008263, allocations: 0.75 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.008275, allocations: 0 / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.521e-05/0.00833, allocations: 4.875 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.008334, allocations: 3.938 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/0.008368, allocations: 7.938 kB / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.008372, allocations: 5.562 kB / 0.8147 GB, free: 13.97 MB / 0.7761 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 0.0001125/0.008484, allocations: 156.6 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.0085, allocations: 7.953 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.00853, allocations: 8.625 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.008531, allocations: 0 / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.008538, allocations: 4 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.008543, allocations: 7.188 kB / 0.8148 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.00866, allocations: 116.6 kB / 0.8149 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.008661, allocations: 4 kB / 0.8149 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.00871, allocations: 11.92 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.008711, allocations: 0 / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.008718, allocations: 0 / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.008719, allocations: 0 / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.00872, allocations: 0 / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.008857, allocations: 96.7 kB / 0.815 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.008892, allocations: 0.5469 kB / 0.815 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.00891, allocations: 13.05 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/0.008962, allocations: 3.984 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.00898, allocations: 0 / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.008984, allocations: 1.219 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.588e-05/0.00905, allocations: 123.2 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00905, allocations: 0 / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002116/0.009261, allocations: 8.438 kB / 0.8152 GB, free: 13.36 MB / 0.7761 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 0.0001105/0.009372, allocations: 104.2 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.009477, allocations: 36.73 kB / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009478, allocations: 0 / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.009513, allocations: 19.67 kB / 0.8153 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.009711, allocations: 19.91 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.01003, allocations: 123.6 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.166e-05/0.01009, allocations: 63.86 kB / 0.8155 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.01014, allocations: 13.27 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.01016, allocations: 12.44 kB / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.01016, allocations: 0 / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of Templates: time 0.003093/0.01326, allocations: 0.6157 MB / 0.8162 GB, free: 12.34 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.991693953983486]