Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008/0.0008, allocations: 76.55 kB / 19.93 MB, free: 4.629 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.000839/0.000839, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8954/0.8954, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.675/1.675, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] 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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.825e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001785/0.001813, allocations: 1.289 MB / 0.953 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.002818, allocations: 0.7677 MB / 0.9537 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.002847, allocations: 4 kB / 0.9537 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.00287, allocations: 7.922 kB / 0.9537 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.002921, allocations: 0 / 0.9537 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.003444, allocations: 135.2 kB / 0.9539 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.376e-05/0.003528, allocations: 31.86 kB / 0.9539 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.003569, allocations: 4 kB / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.00363, allocations: 19.97 kB / 0.9539 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.003697, allocations: 7.984 kB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.003714, allocations: 0 / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.003983, allocations: 159.7 kB / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.004005, allocations: 3.984 kB / 0.9541 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.004034, allocations: 15.92 kB / 0.9541 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.004246, allocations: 127.7 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004248, allocations: 4 kB / 0.9542 GB, free: 408 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.643e-06/0.00425, allocations: 0 / 0.9542 GB, free: 408 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.004255, allocations: 4 kB / 0.9542 GB, free: 404 kB / 0.9011 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.0006682/0.004924, allocations: 286.1 kB / 0.9545 GB, free: 84 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.004965, allocations: 11.97 kB / 0.9545 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.005008, allocations: 12.83 kB / 0.9545 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.797e-05/0.005106, allocations: 105.7 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-05/0.005196, allocations: 59.95 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.005205, allocations: 384 / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.005323, allocations: 71.95 kB / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.00533, allocations: 192 / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.00534, allocations: 8.375 kB / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.005347, allocations: 4.125 kB / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.829e-05/0.005405, allocations: 15.98 kB / 0.9548 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.005523, allocations: 109.3 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.005708, allocations: 46.5 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.005739, allocations: 12.86 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.005912, allocations: 32.06 kB / 0.955 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.005934, allocations: 34.56 kB / 0.955 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.005935, allocations: 0 / 0.955 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001791/0.006114, allocations: 61.67 kB / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.006144, allocations: 55.41 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.006199, allocations: 101.8 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.006213, allocations: 33.64 kB / 0.9553 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.006234, allocations: 80.14 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.006261, allocations: 7.906 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.006288, allocations: 17.72 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.006367, allocations: 326.8 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.006396, allocations: 8 kB / 0.9557 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.006418, allocations: 11.98 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.487e-05/0.006473, allocations: 29.31 kB / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.006475, allocations: 4 kB / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.039e-05/0.006556, allocations: 53.67 kB / 0.9558 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.006569, allocations: 8 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.006574, allocations: 0 / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.006587, allocations: 0 / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.371e-05/0.006621, allocations: 19.92 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.006627, allocations: 3.938 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.006644, allocations: 3.953 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.006648, allocations: 0 / 0.9558 GB, free: 14.6 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.696e-05/0.006705, allocations: 117.8 kB / 0.9559 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.00671, allocations: 0 / 0.9559 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.006838, allocations: 65.36 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.00684, allocations: 0 / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.006845, allocations: 0 / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.006849, allocations: 7.938 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.477e-05/0.006913, allocations: 113.3 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006915, allocations: 3.938 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.006937, allocations: 7.938 kB / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.006939, allocations: 4 kB / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.006945, allocations: 0 / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.006947, allocations: 0 / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.006949, allocations: 3.984 kB / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.586e-05/0.007035, allocations: 85.02 kB / 0.9562 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.007071, allocations: 11.92 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.007082, allocations: 4 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.007103, allocations: 4 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.007137, allocations: 7.984 kB / 0.9562 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.00714, allocations: 0 / 0.9562 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.065e-05/0.007171, allocations: 83.22 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007171, allocations: 0 / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001708/0.007342, allocations: 35.88 kB / 0.9563 GB, free: 13.98 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 0.0001891/0.007531, allocations: 139 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.007635, allocations: 31.97 kB / 0.9565 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.007636, allocations: 0 / 0.9565 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.623e-05/0.007663, allocations: 12 kB / 0.9565 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.007848, allocations: 16.36 kB / 0.9565 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.008148, allocations: 146.4 kB / 0.9567 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.008376, allocations: 63.28 kB / 0.9567 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.008404, allocations: 12.5 kB / 0.9567 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.008404, allocations: 4 kB / 0.9567 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of Templates: time 0.001981/0.01038, allocations: 1.053 MB / 0.9578 GB, free: 12.46 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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: 6.6507306806743145]