Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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.001073/0.001073, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001687/0.002759, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001132/0.001132, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001498/0.002629, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9847/0.9847, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08631/1.071, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.823/1.823, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.478/2.301, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.379e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001873/0.001897, allocations: 1.37 MB / 0.731 GB, free: 3.062 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009056/0.002803, allocations: 0.8504 MB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.002829, allocations: 0 / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.568e-06/0.002838, allocations: 3.938 kB / 0.7318 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.733e-05/0.002866, allocations: 6.578 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.003195, allocations: 120.2 kB / 0.7319 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.355e-05/0.003279, allocations: 33.61 kB / 0.732 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.003318, allocations: 8.672 kB / 0.732 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.696e-05/0.003385, allocations: 15.98 kB / 0.732 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.003442, allocations: 8.484 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.003456, allocations: 4.594 kB / 0.732 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.003714, allocations: 163.7 kB / 0.7322 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.00374, allocations: 8.641 kB / 0.7322 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.003768, allocations: 8.594 kB / 0.7322 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.003985, allocations: 115.7 kB / 0.7323 GB, free: 1.762 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.616e-05/0.004001, allocations: 5.062 kB / 0.7323 GB, free: 1.758 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004002, allocations: 0 / 0.7323 GB, free: 1.758 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.004018, allocations: 3.938 kB / 0.7323 GB, free: 1.754 MB / 0.698 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.0004654/0.004483, allocations: 281.3 kB / 0.7326 GB, free: 1.453 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.004525, allocations: 8.031 kB / 0.7326 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.00457, allocations: 10.66 kB / 0.7326 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.932e-05/0.004669, allocations: 105.8 kB / 0.7327 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.611e-05/0.004766, allocations: 59.95 kB / 0.7327 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.00478, allocations: 4.375 kB / 0.7328 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.004911, allocations: 77.47 kB / 0.7328 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.00492, allocations: 192 / 0.7328 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.004929, allocations: 384 / 0.7328 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.004935, allocations: 4.625 kB / 0.7328 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/0.004963, allocations: 13.62 kB / 0.7328 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.478e-05/0.005058, allocations: 65.02 kB / 0.7329 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.005204, allocations: 34.56 kB / 0.7329 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.005221, allocations: 9.734 kB / 0.7329 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.005371, allocations: 29.2 kB / 0.733 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.005395, allocations: 30.56 kB / 0.733 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.005396, allocations: 1.75 kB / 0.733 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001309/0.005527, allocations: 49.61 kB / 0.7331 GB, free: 0.875 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.005561, allocations: 59.41 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.377e-05/0.005625, allocations: 98.72 kB / 0.7332 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.005641, allocations: 26.92 kB / 0.7332 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.005677, allocations: 84.12 kB / 0.7333 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.005713, allocations: 11.84 kB / 0.7333 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.005745, allocations: 21.7 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.005846, allocations: 319.4 kB / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.005859, allocations: 1.125 kB / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.00587, allocations: 4 kB / 0.7337 GB, free: 220 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.897e-05/0.005909, allocations: 16.84 kB / 0.7337 GB, free: 200 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.005913, allocations: 4.562 kB / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.895e-05/0.005982, allocations: 46.16 kB / 0.7337 GB, free: 144 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.005999, allocations: 4.906 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.006007, allocations: 7.938 kB / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.006021, allocations: 0 / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.006083, allocations: 8.516 kB / 0.7337 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.006088, allocations: 5.562 kB / 0.7337 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.006104, allocations: 0 / 0.7337 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.00611, allocations: 3.938 kB / 0.7337 GB, free: 116 kB / 0.698 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 8.834e-05/0.006198, allocations: 113.8 kB / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.006209, allocations: 5.219 kB / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.006313, allocations: 53.3 kB / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.006315, allocations: 0 / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.006317, allocations: 1.094 kB / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.00632, allocations: 0 / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.992e-05/0.0064, allocations: 73.84 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006401, allocations: 0.9688 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.006434, allocations: 7.984 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.006471, allocations: 9.266 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006473, allocations: 0 / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.006478, allocations: 0.75 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.006481, allocations: 4 kB / 0.734 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.006482, allocations: 0.7812 kB / 0.734 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.255e-05/0.006575, allocations: 76.97 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.006588, allocations: 5.406 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.006616, allocations: 4 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.006651, allocations: 0 / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.006655, allocations: 0 / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.087e-05/0.006676, allocations: 18.08 kB / 0.7341 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006676, allocations: 0 / 0.7341 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001752/0.006851, allocations: 35.88 kB / 0.7341 GB, free: 15.66 MB / 0.7136 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.0002322/0.007083, allocations: 122.9 kB / 0.7343 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.343e-05/0.007177, allocations: 30.02 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.007181, allocations: 0 / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.007206, allocations: 12.86 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.007353, allocations: 20.95 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009613/0.008315, allocations: 147.9 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.008357, allocations: 55.36 kB / 0.7345 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.008389, allocations: 7.031 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.008456, allocations: 55.36 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/0.008457, allocations: 0 / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.003754/0.01221, allocations: 1.264 MB / 0.7358 GB, free: 13.98 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.784658942371607]