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.00191/0.00191, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002388/0.002388, allocations: 217.4 kB / 22.24 MB, free: 4.855 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 8.07 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.277/3.277, allocations: 0.4892 GB / 0.7943 GB, free: 35.44 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.002177/0.002177, allocations: 68.16 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3558, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002447/0.3583, allocations: 1.301 MB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.5364, allocations: 129.6 MB / 1.453 GB, free: 14.46 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.5364, allocations: 0 / 1.453 GB, free: 14.46 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.5365, allocations: 3.938 kB / 1.453 GB, free: 14.46 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 5.421e-05/0.5365, allocations: 7.938 kB / 1.453 GB, free: 14.45 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.537, allocations: 115.5 kB / 1.454 GB, free: 14.34 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.5371, allocations: 19.88 kB / 1.454 GB, free: 14.32 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.603e-05/0.5371, allocations: 7.984 kB / 1.454 GB, free: 14.31 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.5372, allocations: 11.92 kB / 1.454 GB, free: 14.3 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.5372, allocations: 4 kB / 1.454 GB, free: 14.29 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.5372, allocations: 0 / 1.454 GB, free: 14.29 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.5377, allocations: 167.7 kB / 1.454 GB, free: 14.13 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.5377, allocations: 4 kB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.5377, allocations: 11.92 kB / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.538, allocations: 119.6 kB / 1.454 GB, free: 14 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.538, allocations: 0 / 1.454 GB, free: 14 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.403e-06/0.538, allocations: 0 / 1.454 GB, free: 14 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.538, allocations: 0 / 1.454 GB, free: 14 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.000392/0.5384, allocations: 278 kB / 1.454 GB, free: 13.7 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5384, allocations: 12.03 kB / 1.454 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/0.539, allocations: 40.89 kB / 1.454 GB, free: 13.64 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.5391, allocations: 106.5 kB / 1.454 GB, free: 13.52 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.5391, allocations: 3.938 kB / 1.454 GB, free: 13.51 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.5392, allocations: 0 / 1.454 GB, free: 13.51 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.5393, allocations: 53.59 kB / 1.454 GB, free: 13.45 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5394, allocations: 4 kB / 1.454 GB, free: 13.45 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5394, allocations: 0 / 1.454 GB, free: 13.45 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.5394, allocations: 0 / 1.454 GB, free: 13.45 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.5395, allocations: 23.95 kB / 1.454 GB, free: 13.43 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.5399, allocations: 200.5 kB / 1.455 GB, free: 13.2 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 6.943e-05/0.5399, allocations: 26.56 kB / 1.455 GB, free: 13.16 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.54, allocations: 8.922 kB / 1.455 GB, free: 13.15 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.54, allocations: 11.81 kB / 1.455 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.54, allocations: 38.56 kB / 1.455 GB, free: 13.09 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.54, allocations: 0 / 1.455 GB, free: 13.09 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0001661/0.5402, allocations: 37.7 kB / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.5402, allocations: 59.39 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.5404, allocations: 109.8 kB / 1.455 GB, free: 12.86 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.5404, allocations: 25.7 kB / 1.455 GB, free: 12.83 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.5404, allocations: 80.14 kB / 1.455 GB, free: 12.75 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.5405, allocations: 11.89 kB / 1.455 GB, free: 12.74 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.5405, allocations: 25.66 kB / 1.455 GB, free: 12.71 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5406, allocations: 318.8 kB / 1.455 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.676e-05/0.5407, allocations: 12.12 kB / 1.455 GB, free: 12.38 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/0.5408, allocations: 11.92 kB / 1.455 GB, free: 12.36 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.932e-05/0.5409, allocations: 24.84 kB / 1.455 GB, free: 12.34 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5409, allocations: 0 / 1.455 GB, free: 12.34 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001891/0.541, allocations: 53.67 kB / 1.455 GB, free: 12.28 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.5411, allocations: 4 kB / 1.455 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5411, allocations: 4 kB / 1.455 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5411, allocations: 4 kB / 1.455 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.5412, allocations: 7.984 kB / 1.455 GB, free: 12.26 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5412, allocations: 0 / 1.455 GB, free: 12.26 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.5413, allocations: 15.98 kB / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.5413, allocations: 0 / 1.455 GB, free: 12.24 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.63e-05/0.5414, allocations: 113.7 kB / 1.455 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.5415, allocations: 7.984 kB / 1.455 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.5415, allocations: 3.312 kB / 1.456 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.5415, allocations: 8 kB / 1.456 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5415, allocations: 0 / 1.456 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.5415, allocations: 0 / 1.456 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.5416, allocations: 105.3 kB / 1.456 GB, free: 11.97 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5416, allocations: 0 / 1.456 GB, free: 11.97 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.5416, allocations: 7.984 kB / 1.456 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5416, allocations: 0 / 1.456 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.5416, allocations: 0 / 1.456 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5417, allocations: 0 / 1.456 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5417, allocations: 4 kB / 1.456 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.5418, allocations: 143.4 kB / 1.456 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.5418, allocations: 7.984 kB / 1.456 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.5418, allocations: 0 / 1.456 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.5419, allocations: 7.938 kB / 1.456 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.5419, allocations: 4.328 kB / 1.456 GB, free: 11.78 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.5419, allocations: 0 / 1.456 GB, free: 11.78 MB / 1.154 GB Notification: Performance of sorting global known variables: time 9.861e-05/0.542, allocations: 95.19 kB / 1.456 GB, free: 11.69 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.542, allocations: 0 / 1.456 GB, free: 11.69 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002498/0.5423, allocations: 19.94 kB / 1.456 GB, free: 11.67 MB / 1.154 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.0001745/0.5425, allocations: 111.2 kB / 1.456 GB, free: 11.55 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.5426, allocations: 19.92 kB / 1.456 GB, free: 11.53 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5426, allocations: 0 / 1.456 GB, free: 11.53 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-05/0.5426, allocations: 11.98 kB / 1.456 GB, free: 11.52 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.5429, allocations: 10.02 kB / 1.456 GB, free: 11.51 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.5433, allocations: 127.6 kB / 1.456 GB, free: 11.36 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.983e-05/0.5433, allocations: 59.34 kB / 1.456 GB, free: 11.28 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 5.961e-05/0.5434, allocations: 8 kB / 1.456 GB, free: 11.27 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.5434, allocations: 7.438 kB / 1.456 GB, free: 11.27 MB / 1.154 GB Notification: Performance of SimCode: time 3.11e-07/0.5434, allocations: 0 / 1.456 GB, free: 11.27 MB / 1.154 GB Notification: Performance of Templates: time 0.003612/0.547, allocations: 0.7996 MB / 1.457 GB, free: 10.48 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/jenkins/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.197972737252712]