Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.00206/0.00206, 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.002149/0.002149, allocations: 218.7 kB / 23.01 MB, free: 5.125 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.267/3.267, allocations: 0.49 GB / 0.7958 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [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.001936/0.001936, allocations: 68.28 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3274, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002423/0.3298, allocations: 1.312 MB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1785/0.5084, allocations: 150.9 MB / 1.476 GB, free: 8.602 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.5084, allocations: 0 / 1.476 GB, free: 8.602 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.5084, allocations: 0 / 1.476 GB, free: 8.602 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 4.8e-05/0.5085, allocations: 3.938 kB / 1.476 GB, free: 8.598 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.5089, allocations: 127.5 kB / 1.476 GB, free: 8.473 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 5.961e-05/0.509, allocations: 23.8 kB / 1.476 GB, free: 8.449 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.509, allocations: 4 kB / 1.476 GB, free: 8.445 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.509, allocations: 4 kB / 1.476 GB, free: 8.441 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 3.45e-05/0.5091, allocations: 8 kB / 1.476 GB, free: 8.434 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.5091, allocations: 3.938 kB / 1.476 GB, free: 8.43 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.5095, allocations: 183.6 kB / 1.476 GB, free: 8.25 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-06/0.5095, allocations: 0 / 1.476 GB, free: 8.25 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.5095, allocations: 4 kB / 1.476 GB, free: 8.246 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.5098, allocations: 123.6 kB / 1.476 GB, free: 8.125 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5098, allocations: 7.938 kB / 1.476 GB, free: 8.117 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5098, allocations: 0 / 1.476 GB, free: 8.117 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.5098, allocations: 0 / 1.476 GB, free: 8.117 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003407/0.5102, allocations: 282 kB / 1.477 GB, free: 7.812 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.5102, allocations: 8.031 kB / 1.477 GB, free: 7.805 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006065/0.5108, allocations: 40.89 kB / 1.477 GB, free: 7.766 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.5109, allocations: 114.5 kB / 1.477 GB, free: 7.629 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.5109, allocations: 3.938 kB / 1.477 GB, free: 7.625 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.5109, allocations: 0 / 1.477 GB, free: 7.625 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.5111, allocations: 45.67 kB / 1.477 GB, free: 7.574 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5111, allocations: 0 / 1.477 GB, free: 7.574 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.5111, allocations: 0 / 1.477 GB, free: 7.574 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.5111, allocations: 0 / 1.477 GB, free: 7.574 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.5112, allocations: 23.97 kB / 1.477 GB, free: 7.551 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.5116, allocations: 227.9 kB / 1.477 GB, free: 7.285 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.5117, allocations: 22.52 kB / 1.477 GB, free: 7.254 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.5117, allocations: 16.91 kB / 1.477 GB, free: 7.234 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.5117, allocations: 0 / 1.477 GB, free: 7.234 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.5117, allocations: 34.56 kB / 1.477 GB, free: 7.191 MB / 1.17 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.5117, allocations: 0 / 1.477 GB, free: 7.191 MB / 1.17 GB Notification: Performance of matching and sorting (n=2): time 0.0001406/0.5119, allocations: 45.69 kB / 1.477 GB, free: 7.141 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.5119, allocations: 55.34 kB / 1.477 GB, free: 7.074 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.5121, allocations: 109.8 kB / 1.477 GB, free: 6.957 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5121, allocations: 25.7 kB / 1.477 GB, free: 6.926 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.5121, allocations: 88.27 kB / 1.477 GB, free: 6.836 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.5121, allocations: 11.89 kB / 1.477 GB, free: 6.824 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.5122, allocations: 17.7 kB / 1.477 GB, free: 6.801 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5123, allocations: 314.8 kB / 1.478 GB, free: 6.484 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.95e-05/0.5124, allocations: 15.98 kB / 1.478 GB, free: 6.469 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/0.5125, allocations: 7.984 kB / 1.478 GB, free: 6.461 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.939e-05/0.5126, allocations: 28.84 kB / 1.478 GB, free: 6.43 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5126, allocations: 0 / 1.478 GB, free: 6.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001928/0.5127, allocations: 61.56 kB / 1.478 GB, free: 6.363 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5128, allocations: 8 kB / 1.478 GB, free: 6.355 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5128, allocations: 0 / 1.478 GB, free: 6.355 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5128, allocations: 0 / 1.478 GB, free: 6.355 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.5129, allocations: 7.984 kB / 1.478 GB, free: 6.348 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.5129, allocations: 3.938 kB / 1.478 GB, free: 6.344 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.513, allocations: 19.92 kB / 1.478 GB, free: 6.324 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.5131, allocations: 0 / 1.478 GB, free: 6.324 MB / 1.17 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 (3): * Single equations (assignments): 3 * 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 7.922e-05/0.5131, allocations: 105.8 kB / 1.478 GB, free: 6.211 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.5132, allocations: 4 kB / 1.478 GB, free: 6.207 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.5132, allocations: 15.23 kB / 1.478 GB, free: 6.191 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5132, allocations: 0 / 1.478 GB, free: 6.191 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5132, allocations: 0 / 1.478 GB, free: 6.191 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.5132, allocations: 3.938 kB / 1.478 GB, free: 6.188 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.5134, allocations: 128.7 kB / 1.478 GB, free: 6.02 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.5134, allocations: 0 / 1.478 GB, free: 6.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.5134, allocations: 8 kB / 1.478 GB, free: 6.012 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5134, allocations: 0 / 1.478 GB, free: 6.012 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.5134, allocations: 4 kB / 1.478 GB, free: 6.008 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.5134, allocations: 4 kB / 1.478 GB, free: 6.004 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.5134, allocations: 0 / 1.478 GB, free: 6.004 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.5135, allocations: 143.4 kB / 1.478 GB, free: 5.848 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.5136, allocations: 3.953 kB / 1.478 GB, free: 5.844 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.5136, allocations: 4 kB / 1.478 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.5137, allocations: 0 / 1.478 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/0.5137, allocations: 0 / 1.478 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.5137, allocations: 7.938 kB / 1.478 GB, free: 5.832 MB / 1.17 GB Notification: Performance of sorting global known variables: time 9.821e-05/0.5138, allocations: 95.25 kB / 1.478 GB, free: 5.738 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5138, allocations: 0 / 1.478 GB, free: 5.738 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002436/0.514, allocations: 15.94 kB / 1.478 GB, free: 5.723 MB / 1.17 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 (2): * Single equations (assignments): 2 * 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.0001685/0.5142, allocations: 107.3 kB / 1.478 GB, free: 5.609 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.5143, allocations: 24.44 kB / 1.479 GB, free: 5.586 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5143, allocations: 3.938 kB / 1.479 GB, free: 5.582 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.5143, allocations: 4 kB / 1.479 GB, free: 5.578 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.5147, allocations: 4 kB / 1.479 GB, free: 5.574 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.515, allocations: 145.3 kB / 1.479 GB, free: 5.398 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.5153, allocations: 0.6729 MB / 1.479 GB, free: 4.699 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.5154, allocations: 15.42 kB / 1.479 GB, free: 4.684 MB / 1.17 GB Notification: Performance of SimCode: time 3e-07/0.5154, allocations: 0 / 1.479 GB, free: 4.684 MB / 1.17 GB Notification: Performance of Templates: time 0.002417/0.5178, allocations: 0.8151 MB / 1.48 GB, free: 3.867 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.384288488974562]