Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001302/0.001302, 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.001556/0.001556, allocations: 219 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.24/3.24, allocations: 0.505 GB / 0.8108 GB, free: 22.01 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.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_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_latest_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.002161/0.002161, allocations: 71.95 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3222, allocations: 180.2 MB / 1.354 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.0023/0.3245, allocations: 1.315 MB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.4938, allocations: 150.9 MB / 1.503 GB, free: 15.07 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.4938, allocations: 0 / 1.503 GB, free: 15.07 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.4938, allocations: 3.938 kB / 1.503 GB, free: 15.07 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.4939, allocations: 11.91 kB / 1.503 GB, free: 15.05 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.4943, allocations: 111.5 kB / 1.503 GB, free: 14.95 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 6.329e-05/0.4944, allocations: 27.8 kB / 1.503 GB, free: 14.92 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.4944, allocations: 4 kB / 1.503 GB, free: 14.91 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 3.261e-05/0.4945, allocations: 8 kB / 1.503 GB, free: 14.91 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 3.519e-05/0.4945, allocations: 7.938 kB / 1.503 GB, free: 14.9 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.4945, allocations: 0 / 1.503 GB, free: 14.9 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004339/0.4949, allocations: 191.6 kB / 1.503 GB, free: 14.71 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.4949, allocations: 0 / 1.503 GB, free: 14.71 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.495, allocations: 7.938 kB / 1.503 GB, free: 14.7 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.4952, allocations: 115.7 kB / 1.503 GB, free: 14.59 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4952, allocations: 3.938 kB / 1.503 GB, free: 14.59 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4952, allocations: 4 kB / 1.503 GB, free: 14.58 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4952, allocations: 0 / 1.503 GB, free: 14.58 MB / 1.201 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.0003279/0.4955, allocations: 278 kB / 1.504 GB, free: 14.28 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.4956, allocations: 8.031 kB / 1.504 GB, free: 14.27 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005669/0.4961, allocations: 36.89 kB / 1.504 GB, free: 14.24 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.4962, allocations: 118.5 kB / 1.504 GB, free: 14.1 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4962, allocations: 3.938 kB / 1.504 GB, free: 14.09 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.4963, allocations: 3.984 kB / 1.504 GB, free: 14.09 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.4964, allocations: 53.59 kB / 1.504 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4964, allocations: 0 / 1.504 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.4964, allocations: 0 / 1.504 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4964, allocations: 4 kB / 1.504 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.4966, allocations: 15.98 kB / 1.504 GB, free: 14.01 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.4969, allocations: 224 kB / 1.504 GB, free: 13.75 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 5.54e-05/0.497, allocations: 22.56 kB / 1.504 GB, free: 13.72 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.497, allocations: 12.92 kB / 1.504 GB, free: 13.7 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.669e-06/0.497, allocations: 0 / 1.504 GB, free: 13.7 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.497, allocations: 38.5 kB / 1.504 GB, free: 13.66 MB / 1.201 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.497, allocations: 0 / 1.504 GB, free: 13.66 MB / 1.201 GB Notification: Performance of matching and sorting (n=2): time 0.0001506/0.4972, allocations: 41.7 kB / 1.504 GB, free: 13.61 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.4972, allocations: 55.39 kB / 1.504 GB, free: 13.54 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.4973, allocations: 105.8 kB / 1.504 GB, free: 13.43 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.4974, allocations: 25.7 kB / 1.504 GB, free: 13.4 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.4974, allocations: 88.09 kB / 1.504 GB, free: 13.31 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/0.4974, allocations: 12.02 kB / 1.504 GB, free: 13.3 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.4975, allocations: 21.7 kB / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4976, allocations: 318.8 kB / 1.505 GB, free: 12.95 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.4977, allocations: 12 kB / 1.505 GB, free: 12.94 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.602e-05/0.4977, allocations: 11.92 kB / 1.505 GB, free: 12.93 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.476e-05/0.4978, allocations: 24.84 kB / 1.505 GB, free: 12.9 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4978, allocations: 4 kB / 1.505 GB, free: 12.89 MB / 1.201 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001786/0.498, allocations: 53.67 kB / 1.505 GB, free: 12.84 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.498, allocations: 11.94 kB / 1.505 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.498, allocations: 0 / 1.505 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.498, allocations: 0 / 1.505 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.4981, allocations: 7.984 kB / 1.505 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4981, allocations: 0 / 1.505 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.4983, allocations: 19.92 kB / 1.505 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4983, allocations: 0 / 1.505 GB, free: 12.8 MB / 1.201 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.893e-05/0.4984, allocations: 114.4 kB / 1.505 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.4984, allocations: 3.984 kB / 1.505 GB, free: 12.67 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.4984, allocations: 11.25 kB / 1.505 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.4984, allocations: 336 / 1.505 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4984, allocations: 0 / 1.505 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4984, allocations: 3.938 kB / 1.505 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.4985, allocations: 124.8 kB / 1.505 GB, free: 12.49 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4986, allocations: 4 kB / 1.505 GB, free: 12.49 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.4986, allocations: 7.984 kB / 1.505 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.4986, allocations: 0 / 1.505 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.4986, allocations: 0 / 1.505 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.4986, allocations: 8 kB / 1.505 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4986, allocations: 0 / 1.505 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.4987, allocations: 139.4 kB / 1.505 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.4987, allocations: 0 / 1.505 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.4987, allocations: 8.031 kB / 1.505 GB, free: 12.31 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.4988, allocations: 0 / 1.505 GB, free: 12.31 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.4988, allocations: 7.922 kB / 1.505 GB, free: 12.3 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4989, allocations: 7.938 kB / 1.505 GB, free: 12.3 MB / 1.201 GB Notification: Performance of sorting global known variables: time 9.573e-05/0.4989, allocations: 91.27 kB / 1.505 GB, free: 12.21 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.4989, allocations: 0 / 1.505 GB, free: 12.21 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002392/0.4992, allocations: 15.94 kB / 1.505 GB, free: 12.19 MB / 1.201 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.0001484/0.4993, allocations: 107.2 kB / 1.505 GB, free: 12.08 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.4995, allocations: 19.98 kB / 1.505 GB, free: 12.06 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4995, allocations: 0 / 1.505 GB, free: 12.06 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.4995, allocations: 4 kB / 1.505 GB, free: 12.05 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.4998, allocations: 7.984 kB / 1.505 GB, free: 12.05 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.5001, allocations: 149.3 kB / 1.506 GB, free: 11.87 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.5003, allocations: 0.6767 MB / 1.506 GB, free: 11.17 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.5004, allocations: 15.42 kB / 1.506 GB, free: 11.16 MB / 1.201 GB Notification: Performance of SimCode: time 3.61e-07/0.5004, allocations: 0 / 1.506 GB, free: 11.16 MB / 1.201 GB Notification: Performance of Templates: time 0.002268/0.5026, allocations: 0.8104 MB / 1.507 GB, free: 10.35 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.167689711990533]