Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001287/0.001287, allocations: 110.2 kB / 19.69 MB, free: 2.242 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.001425/0.001425, allocations: 220.9 kB / 23.01 MB, free: 5.027 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.227 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.281/3.281, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [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.002314/0.002314, allocations: 71.42 kB / 1.178 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4092, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002988/0.4122, allocations: 1.299 MB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.414, allocations: 0.9402 MB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.4141, allocations: 0 / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.4141, allocations: 3.938 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.4141, allocations: 7.922 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.415, allocations: 206.2 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.4151, allocations: 23.86 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.4151, allocations: 0 / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.4151, allocations: 8 kB / 1.357 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.734e-05/0.4152, allocations: 11.92 kB / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.4152, allocations: 0 / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.4157, allocations: 247.7 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.4157, allocations: 8 kB / 1.357 GB, free: 5.188 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.4157, allocations: 4 kB / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.4161, allocations: 159.6 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.4161, allocations: 3.984 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4161, allocations: 0 / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.4161, allocations: 4 kB / 1.357 GB, free: 5.02 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.0004608/0.4166, allocations: 284.1 kB / 1.357 GB, free: 4.715 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4166, allocations: 8.031 kB / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.4169, allocations: 16.92 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.417, allocations: 118.4 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.417, allocations: 4.375 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.417, allocations: 4.125 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.4172, allocations: 49.69 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4172, allocations: 3.938 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4172, allocations: 0 / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4172, allocations: 0 / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.609e-05/0.4172, allocations: 15.98 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.4174, allocations: 128.8 kB / 1.358 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009159/0.4183, allocations: 130.5 kB / 1.358 GB, free: 4.164 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.4184, allocations: 24.78 kB / 1.358 GB, free: 4.137 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.348e-05/0.4185, allocations: 4 kB / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.4185, allocations: 38.56 kB / 1.358 GB, free: 4.086 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4185, allocations: 0 / 1.358 GB, free: 4.086 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0001849/0.4187, allocations: 69.73 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.4187, allocations: 59.34 kB / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.4188, allocations: 89.86 kB / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.4188, allocations: 25.7 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.4188, allocations: 88.14 kB / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.4189, allocations: 7.906 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.4189, allocations: 21.7 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4191, allocations: 310.8 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.4191, allocations: 8.125 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/0.4191, allocations: 11.98 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.219e-05/0.4191, allocations: 24.86 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4191, allocations: 0 / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.249e-05/0.4192, allocations: 61.58 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4193, allocations: 11.94 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4193, allocations: 4 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4193, allocations: 0 / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.4193, allocations: 7.984 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4193, allocations: 0 / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.4194, allocations: 8 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.4194, allocations: 0 / 1.358 GB, free: 3.23 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 8.49e-05/0.4195, allocations: 110.5 kB / 1.359 GB, free: 3.113 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.4195, allocations: 7.938 kB / 1.359 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.4198, allocations: 77.14 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4198, allocations: 3.938 kB / 1.359 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4198, allocations: 3.984 kB / 1.359 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4198, allocations: 7.938 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.4199, allocations: 136.7 kB / 1.359 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4199, allocations: 0 / 1.359 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.4199, allocations: 8 kB / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4199, allocations: 0 / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.42, allocations: 0 / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.42, allocations: 4 kB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.42, allocations: 0 / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.4201, allocations: 93.02 kB / 1.359 GB, free: 2.707 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.4201, allocations: 3.984 kB / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.4201, allocations: 4 kB / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.116e-05/0.4202, allocations: 4 kB / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.4202, allocations: 3.938 kB / 1.359 GB, free: 2.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.4202, allocations: 4 kB / 1.359 GB, free: 2.688 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.4202, allocations: 79.22 kB / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4202, allocations: 4.094 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002653/0.4205, allocations: 55.86 kB / 1.359 GB, free: 2.551 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 (5): * Single equations (assignments): 5 * 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.0002643/0.4208, allocations: 147.1 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.4209, allocations: 28.11 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4209, allocations: 0 / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.141e-05/0.4209, allocations: 23.92 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.4211, allocations: 8.5 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.4214, allocations: 144.7 kB / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.4217, allocations: 0.6768 MB / 1.36 GB, free: 1.457 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.4217, allocations: 11.44 kB / 1.36 GB, free: 1.449 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.4217, allocations: 0 / 1.36 GB, free: 1.449 MB / 1.045 GB Notification: Performance of Templates: time 0.002874/0.4246, allocations: 1.104 MB / 1.361 GB, free: 360 kB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.19651816302212]