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.001757/0.001757, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002334/0.002334, allocations: 215 kB / 23 MB, free: 4.965 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.234/3.234, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002137/0.002137, allocations: 70.16 kB / 1.155 GB, free: 25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4185, allocations: 176.1 MB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002839/0.4213, allocations: 1.293 MB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1765/0.5979, allocations: 129.6 MB / 1.455 GB, free: 13.41 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.5979, allocations: 3.938 kB / 1.455 GB, free: 13.4 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.5979, allocations: 0 / 1.455 GB, free: 13.4 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.598, allocations: 7.938 kB / 1.455 GB, free: 13.39 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.5984, allocations: 119.4 kB / 1.455 GB, free: 13.28 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.5985, allocations: 23.86 kB / 1.455 GB, free: 13.25 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.5985, allocations: 7.984 kB / 1.455 GB, free: 13.25 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.5986, allocations: 4 kB / 1.455 GB, free: 13.24 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.5986, allocations: 7.938 kB / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.5986, allocations: 0 / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.599, allocations: 171.7 kB / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.599, allocations: 0 / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.599, allocations: 8 kB / 1.455 GB, free: 13.06 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.5993, allocations: 115.6 kB / 1.455 GB, free: 12.95 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5993, allocations: 4 kB / 1.455 GB, free: 12.94 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5993, allocations: 0 / 1.455 GB, free: 12.94 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.5993, allocations: 0 / 1.455 GB, free: 12.94 MB / 1.154 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.0003436/0.5996, allocations: 286 kB / 1.456 GB, free: 12.63 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5997, allocations: 12.03 kB / 1.456 GB, free: 12.62 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005907/0.6003, allocations: 36.83 kB / 1.456 GB, free: 12.59 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.6004, allocations: 110.5 kB / 1.456 GB, free: 12.45 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.6004, allocations: 3.938 kB / 1.456 GB, free: 12.45 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.6004, allocations: 0 / 1.456 GB, free: 12.45 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.6006, allocations: 49.66 kB / 1.456 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.6006, allocations: 4 kB / 1.456 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6006, allocations: 0 / 1.456 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.6006, allocations: 0 / 1.456 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.6007, allocations: 15.97 kB / 1.456 GB, free: 12.38 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.601, allocations: 208.5 kB / 1.456 GB, free: 12.14 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 5.763e-05/0.6011, allocations: 26.5 kB / 1.456 GB, free: 12.11 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.243e-05/0.6011, allocations: 8.922 kB / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.6011, allocations: 4 kB / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.6012, allocations: 34.56 kB / 1.456 GB, free: 12.05 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6012, allocations: 3.938 kB / 1.456 GB, free: 12.04 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0001532/0.6013, allocations: 45.62 kB / 1.456 GB, free: 11.99 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.6013, allocations: 51.41 kB / 1.456 GB, free: 11.93 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.6015, allocations: 114 kB / 1.456 GB, free: 11.81 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.6015, allocations: 25.7 kB / 1.456 GB, free: 11.78 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.6016, allocations: 80.14 kB / 1.456 GB, free: 11.7 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.6016, allocations: 11.89 kB / 1.456 GB, free: 11.68 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.6016, allocations: 25.66 kB / 1.457 GB, free: 11.65 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6018, allocations: 318.8 kB / 1.457 GB, free: 11.33 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.6018, allocations: 12 kB / 1.457 GB, free: 11.32 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.227e-05/0.6019, allocations: 11.98 kB / 1.457 GB, free: 11.31 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.602, allocations: 33.11 kB / 1.457 GB, free: 11.27 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.602, allocations: 0 / 1.457 GB, free: 11.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001947/0.6022, allocations: 53.61 kB / 1.457 GB, free: 11.21 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6022, allocations: 6.344 kB / 1.457 GB, free: 11.21 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6022, allocations: 4 kB / 1.457 GB, free: 11.21 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.6022, allocations: 7.922 kB / 1.457 GB, free: 11.2 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.6023, allocations: 8 kB / 1.457 GB, free: 11.19 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6023, allocations: 4 kB / 1.457 GB, free: 11.19 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.6025, allocations: 11.98 kB / 1.457 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.6025, allocations: 0 / 1.457 GB, free: 11.18 MB / 1.154 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 8.101e-05/0.6026, allocations: 113.8 kB / 1.457 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.6026, allocations: 4 kB / 1.457 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.6026, allocations: 7.312 kB / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.6026, allocations: 0 / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6026, allocations: 0 / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.6027, allocations: 4 kB / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.6027, allocations: 7.938 kB / 1.457 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.6028, allocations: 3.984 kB / 1.457 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.6028, allocations: 4 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000103/0.6029, allocations: 112.9 kB / 1.457 GB, free: 10.91 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001443/0.603, allocations: 214.8 kB / 1.457 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.74e-05/0.6031, allocations: 4 kB / 1.457 GB, free: 10.68 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000101/0.6032, allocations: 95.2 kB / 1.457 GB, free: 10.58 MB / 1.154 GB Notification: Performance of Backend: time 1.41e-07/0.6032, allocations: 0 / 1.457 GB, free: 10.58 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005705/0.6037, allocations: 158.1 kB / 1.458 GB, free: 10.42 MB / 1.154 GB Notification: Performance of SimCode: time 0.0005603/0.6043, allocations: 0.5591 MB / 1.458 GB, free: 9.812 MB / 1.154 GB Notification: Performance of Templates: time 0.004602/0.6089, allocations: 1.746 MB / 1.46 GB, free: 8.07 MB / 1.154 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: 9.499572745000478]