Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002052/0.002052, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.00239/0.00239, allocations: 219.3 kB / 23.01 MB, free: 4.609 MB / 14.72 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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 3.226/3.226, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 71.42 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.398, allocations: 180.2 MB / 1.354 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002448/0.4004, allocations: 1.296 MB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.4019, allocations: 0.8295 MB / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.4019, allocations: 0 / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.4019, allocations: 3.938 kB / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.314e-05/0.4019, allocations: 7.938 kB / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.4024, allocations: 127.4 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.4025, allocations: 27.86 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.4026, allocations: 3.984 kB / 1.356 GB, free: 5.676 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.4026, allocations: 23.88 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.4027, allocations: 11.97 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.4027, allocations: 3.938 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.403, allocations: 175.7 kB / 1.357 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.403, allocations: 0 / 1.357 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.4031, allocations: 19.91 kB / 1.357 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.4033, allocations: 123.7 kB / 1.357 GB, free: 5.324 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4033, allocations: 0 / 1.357 GB, free: 5.324 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4033, allocations: 0 / 1.357 GB, free: 5.324 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.4033, allocations: 3.938 kB / 1.357 GB, free: 5.32 MB / 1.045 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.0004801/0.4038, allocations: 286 kB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4039, allocations: 12.03 kB / 1.357 GB, free: 4.996 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.4039, allocations: 0.9375 kB / 1.357 GB, free: 4.996 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.404, allocations: 126.4 kB / 1.357 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.381e-05/0.4041, allocations: 55.97 kB / 1.357 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.4041, allocations: 384 / 1.357 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.4043, allocations: 46.19 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4043, allocations: 3.938 kB / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4043, allocations: 4 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.4043, allocations: 0 / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.4044, allocations: 19.98 kB / 1.357 GB, free: 4.703 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.4046, allocations: 124.8 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.4048, allocations: 46.61 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.684e-05/0.4049, allocations: 16.88 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.4051, allocations: 31.97 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.4052, allocations: 34.56 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4052, allocations: 0 / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002689/0.4054, allocations: 69.61 kB / 1.358 GB, free: 4.316 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4055, allocations: 51.41 kB / 1.358 GB, free: 4.254 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.4056, allocations: 101.8 kB / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.4056, allocations: 25.7 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.4056, allocations: 84.14 kB / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.4057, allocations: 7.906 kB / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.4057, allocations: 17.72 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4059, allocations: 314.8 kB / 1.358 GB, free: 3.68 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/0.4059, allocations: 15.92 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.406, allocations: 15.94 kB / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.23e-05/0.4061, allocations: 29.31 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4061, allocations: 0 / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001336/0.4062, allocations: 57.67 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4062, allocations: 11.94 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4062, allocations: 0 / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4062, allocations: 7.969 kB / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.946e-05/0.4063, allocations: 4 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4063, allocations: 7.938 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.4063, allocations: 7.938 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.4063, allocations: 4 kB / 1.358 GB, free: 3.512 MB / 1.045 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 9.06e-05/0.4064, allocations: 118.4 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.4064, allocations: 3.938 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.4066, allocations: 65.36 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4066, allocations: 0 / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4066, allocations: 0 / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4066, allocations: 0 / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.4067, allocations: 132.7 kB / 1.359 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.4067, allocations: 4 kB / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.4068, allocations: 7.984 kB / 1.359 GB, free: 3.129 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4068, allocations: 3.938 kB / 1.359 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.4068, allocations: 7.938 kB / 1.359 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4068, allocations: 0 / 1.359 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4068, allocations: 0 / 1.359 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.407, allocations: 77.12 kB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.407, allocations: 15.94 kB / 1.359 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.407, allocations: 7.938 kB / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.586e-05/0.4071, allocations: 0 / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.4071, allocations: 7.984 kB / 1.359 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.4071, allocations: 0 / 1.359 GB, free: 2.992 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.4071, allocations: 75.28 kB / 1.359 GB, free: 2.918 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4071, allocations: 4 kB / 1.359 GB, free: 2.914 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002327/0.4074, allocations: 39.86 kB / 1.359 GB, free: 2.875 MB / 1.045 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.0002435/0.4076, allocations: 143 kB / 1.359 GB, free: 2.723 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.4078, allocations: 27.92 kB / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4078, allocations: 0 / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.23e-05/0.4078, allocations: 12 kB / 1.359 GB, free: 2.684 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.4081, allocations: 9.859 kB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.4084, allocations: 157.6 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.4088, allocations: 0.6807 MB / 1.36 GB, free: 1.781 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.4088, allocations: 11.44 kB / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.4088, allocations: 0 / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of Templates: time 0.00292/0.4117, allocations: 1.033 MB / 1.361 GB, free: 0.7422 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.287419369007694]