Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001324/0.001324, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001496/0.001496, allocations: 214.2 kB / 23.03 MB, free: 4.922 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.318/3.318, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="cs",version="2.0",platforms={"static"}) [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.002038/0.002038, allocations: 66.59 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.367, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002413/0.3694, allocations: 1.282 MB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005982/0.37, allocations: 271.6 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.37, allocations: 0 / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.3701, allocations: 7.875 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.3701, allocations: 3.984 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.3704, allocations: 51.77 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.709e-05/0.3704, allocations: 23.84 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.3705, allocations: 4 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.3705, allocations: 7.938 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.3706, allocations: 4 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.3706, allocations: 0 / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3707, allocations: 59.94 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.3707, allocations: 4 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.3707, allocations: 11.94 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.3709, allocations: 48.11 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3709, allocations: 4 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3709, allocations: 0 / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3709, allocations: 0 / 1.347 GB, free: 14.16 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.000369/0.3713, allocations: 258.3 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3713, allocations: 12.03 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.774e-05/0.3713, allocations: 8.109 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.3713, allocations: 30.75 kB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.3716, allocations: 16.92 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3717, allocations: 106.5 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3717, allocations: 8.375 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3717, allocations: 4.359 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3718, allocations: 79.62 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3718, allocations: 0 / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3718, allocations: 0 / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.3718, allocations: 0 / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.3719, allocations: 12 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.3721, allocations: 132.8 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.3741, allocations: 262.4 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.3741, allocations: 20.8 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.3741, allocations: 0 / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.3742, allocations: 34.5 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3742, allocations: 4 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0001758/0.3743, allocations: 61.64 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3744, allocations: 59.39 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.3745, allocations: 93.86 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.3745, allocations: 29.7 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.3745, allocations: 80.14 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.3745, allocations: 7.953 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.3746, allocations: 21.67 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3747, allocations: 314.8 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.3747, allocations: 15.88 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.3748, allocations: 4 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.784e-05/0.3748, allocations: 32.86 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3748, allocations: 0 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.998e-05/0.3749, allocations: 57.81 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3749, allocations: 7.938 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3749, allocations: 0 / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3749, allocations: 4 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.375, allocations: 7.984 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.375, allocations: 11.86 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.375, allocations: 0 / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.375, allocations: 4 kB / 1.349 GB, free: 12.19 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 9.145e-05/0.3751, allocations: 109.8 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.3752, allocations: 4.266 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.3752, allocations: 15.53 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3752, allocations: 3.984 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3752, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3752, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.3753, allocations: 128.7 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3753, allocations: 0 / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.3754, allocations: 12 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3754, allocations: 3.938 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3754, allocations: 0 / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3754, allocations: 0 / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3754, allocations: 0 / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.3755, allocations: 85.06 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.3755, allocations: 11.88 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.3756, allocations: 0 / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.278e-05/0.3756, allocations: 8 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.3756, allocations: 0 / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.3756, allocations: 3.984 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.3757, allocations: 79.28 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3757, allocations: 0 / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001872/0.3759, allocations: 4 kB / 1.349 GB, free: 11.65 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 (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 Backend phase and start with SimCode phase: time 0.0004229/0.3763, allocations: 0.6125 MB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.3764, allocations: 31.92 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3764, allocations: 0 / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.3765, allocations: 8 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.3767, allocations: 19.86 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.3772, allocations: 148.6 kB / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.933e-05/0.3773, allocations: 59.36 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.3773, allocations: 3.984 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.3774, allocations: 15.38 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3774, allocations: 0 / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.3976, allocations: 1.529 MB / 1.352 GB, free: 9.293 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.86, allocations: 8.891 kB / 1.352 GB, free: 9.289 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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: 18.82105353998486]