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.001368/0.001368, 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.001615/0.001615, allocations: 219.7 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.832 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.396/3.396, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 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.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.002073/0.002073, allocations: 61.95 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3953, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.003057/0.3984, allocations: 1.309 MB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.174/0.5724, allocations: 129.5 MB / 1.473 GB, free: 12.62 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.5724, allocations: 0 / 1.473 GB, free: 12.62 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.5725, allocations: 0 / 1.473 GB, free: 12.62 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.5725, allocations: 11.91 kB / 1.473 GB, free: 12.61 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.5731, allocations: 123.4 kB / 1.473 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 8.001e-05/0.5732, allocations: 19.86 kB / 1.473 GB, free: 12.46 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.5733, allocations: 3.938 kB / 1.473 GB, free: 12.46 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.5733, allocations: 4 kB / 1.473 GB, free: 12.46 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 3.988e-05/0.5733, allocations: 8 kB / 1.473 GB, free: 12.45 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.5733, allocations: 0 / 1.473 GB, free: 12.45 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004842/0.5738, allocations: 183.6 kB / 1.473 GB, free: 12.27 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.5738, allocations: 3.938 kB / 1.473 GB, free: 12.27 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.5739, allocations: 4 kB / 1.473 GB, free: 12.26 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.5741, allocations: 115.9 kB / 1.474 GB, free: 12.15 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5742, allocations: 4 kB / 1.474 GB, free: 12.14 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5742, allocations: 0 / 1.474 GB, free: 12.14 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.5742, allocations: 0 / 1.474 GB, free: 12.14 MB / 1.17 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.0004271/0.5746, allocations: 274.1 kB / 1.474 GB, free: 11.85 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.5746, allocations: 8.031 kB / 1.474 GB, free: 11.84 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.472e-05/0.5747, allocations: 4.188 kB / 1.474 GB, free: 11.84 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.5747, allocations: 34.69 kB / 1.474 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000653/0.5754, allocations: 40.84 kB / 1.474 GB, free: 11.75 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.5755, allocations: 122.1 kB / 1.474 GB, free: 11.61 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.5755, allocations: 3.938 kB / 1.474 GB, free: 11.61 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.5755, allocations: 4 kB / 1.474 GB, free: 11.6 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.5757, allocations: 45.66 kB / 1.474 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5757, allocations: 0 / 1.474 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5757, allocations: 3.984 kB / 1.474 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5757, allocations: 0 / 1.474 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.5759, allocations: 23.98 kB / 1.474 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.5763, allocations: 219.9 kB / 1.474 GB, free: 11.27 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.5764, allocations: 26.58 kB / 1.474 GB, free: 11.23 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.5764, allocations: 4.859 kB / 1.474 GB, free: 11.22 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.5764, allocations: 4.062 kB / 1.474 GB, free: 11.22 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.5765, allocations: 34.55 kB / 1.474 GB, free: 11.18 MB / 1.17 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5765, allocations: 0 / 1.474 GB, free: 11.18 MB / 1.17 GB Notification: Performance of matching and sorting (n=2): time 0.000196/0.5767, allocations: 41.77 kB / 1.474 GB, free: 11.13 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.5767, allocations: 59.41 kB / 1.474 GB, free: 11.06 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.5769, allocations: 113.8 kB / 1.475 GB, free: 10.94 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.5769, allocations: 25.7 kB / 1.475 GB, free: 10.91 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.577, allocations: 92.08 kB / 1.475 GB, free: 10.81 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.577, allocations: 7.891 kB / 1.475 GB, free: 10.8 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.577, allocations: 21.7 kB / 1.475 GB, free: 10.78 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.5772, allocations: 310.8 kB / 1.475 GB, free: 10.46 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.809e-05/0.5772, allocations: 11.98 kB / 1.475 GB, free: 10.45 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.676e-05/0.5773, allocations: 11.98 kB / 1.475 GB, free: 10.44 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.781e-05/0.5774, allocations: 24.84 kB / 1.475 GB, free: 10.41 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5774, allocations: 0 / 1.475 GB, free: 10.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002039/0.5776, allocations: 57.61 kB / 1.475 GB, free: 10.35 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5776, allocations: 8 kB / 1.475 GB, free: 10.34 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5776, allocations: 0 / 1.475 GB, free: 10.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.5776, allocations: 7.938 kB / 1.475 GB, free: 10.34 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.5777, allocations: 11.98 kB / 1.475 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.5777, allocations: 11.92 kB / 1.475 GB, free: 10.31 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.5779, allocations: 7.984 kB / 1.475 GB, free: 10.3 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.5779, allocations: 0 / 1.475 GB, free: 10.3 MB / 1.17 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 9.688e-05/0.578, allocations: 117.8 kB / 1.475 GB, free: 10.18 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.578, allocations: 0 / 1.475 GB, free: 10.18 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.5781, allocations: 3.312 kB / 1.475 GB, free: 10.17 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5781, allocations: 3.938 kB / 1.475 GB, free: 10.17 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5781, allocations: 7.938 kB / 1.475 GB, free: 10.16 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.5781, allocations: 4 kB / 1.475 GB, free: 10.16 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.5782, allocations: 124.7 kB / 1.475 GB, free: 9.992 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5782, allocations: 4 kB / 1.475 GB, free: 9.988 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.5783, allocations: 0 / 1.475 GB, free: 9.988 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5783, allocations: 0 / 1.475 GB, free: 9.988 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.5783, allocations: 4 kB / 1.475 GB, free: 9.984 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.5783, allocations: 0 / 1.475 GB, free: 9.984 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.5783, allocations: 7.875 kB / 1.475 GB, free: 9.977 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.5784, allocations: 131.5 kB / 1.476 GB, free: 9.832 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.5784, allocations: 4.359 kB / 1.476 GB, free: 9.828 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.5784, allocations: 4 kB / 1.476 GB, free: 9.824 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.5786, allocations: 11.98 kB / 1.476 GB, free: 9.812 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.5786, allocations: 7.922 kB / 1.476 GB, free: 9.805 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.5786, allocations: 0 / 1.476 GB, free: 9.805 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001008/0.5787, allocations: 87.27 kB / 1.476 GB, free: 9.719 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5787, allocations: 0 / 1.476 GB, free: 9.719 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002526/0.5789, allocations: 19.94 kB / 1.476 GB, free: 9.699 MB / 1.17 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.0005002/0.5794, allocations: 0.6773 MB / 1.476 GB, free: 8.996 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.5796, allocations: 19.98 kB / 1.476 GB, free: 8.977 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5796, allocations: 0 / 1.476 GB, free: 8.977 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.5796, allocations: 4 kB / 1.476 GB, free: 8.973 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.5799, allocations: 9.438 kB / 1.476 GB, free: 8.965 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.5805, allocations: 157.1 kB / 1.476 GB, free: 8.773 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.872e-05/0.5805, allocations: 67.41 kB / 1.477 GB, free: 8.688 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 6.227e-05/0.5806, allocations: 7.938 kB / 1.477 GB, free: 8.68 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.5806, allocations: 11.44 kB / 1.477 GB, free: 8.668 MB / 1.17 GB Notification: Performance of SimCode: time 3.8e-07/0.5806, allocations: 0 / 1.477 GB, free: 8.668 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.603, allocations: 1.798 MB / 1.478 GB, free: 7.023 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.9, allocations: 13.67 kB / 1.478 GB, free: 7.016 MB / 1.17 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 840.0] 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: 19.197001678985544]