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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005399/0.005399, allocations: 102.1 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 190.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.823/2.823, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 60.12 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2817, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00246/0.2842, allocations: 1.299 MB / 1.209 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7505/1.035, allocations: 147.6 MB / 1.353 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/1.035, allocations: 0 / 1.353 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/1.035, allocations: 0.8906 kB / 1.353 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.664e-05/1.035, allocations: 5.578 kB / 1.353 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/1.035, allocations: 120.5 kB / 1.353 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.696e-05/1.035, allocations: 22.97 kB / 1.353 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/1.036, allocations: 2.125 kB / 1.353 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/1.036, allocations: 13.11 kB / 1.353 GB, free: 14.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/1.036, allocations: 4.062 kB / 1.353 GB, free: 14.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/1.036, allocations: 1.312 kB / 1.353 GB, free: 14.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/1.036, allocations: 178.2 kB / 1.353 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/1.036, allocations: 0 / 1.353 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/1.036, allocations: 15.52 kB / 1.353 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/1.036, allocations: 110.9 kB / 1.353 GB, free: 14.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.036, allocations: 0 / 1.353 GB, free: 14.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/1.036, allocations: 0 / 1.353 GB, free: 14.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.989e-06/1.036, allocations: 0 / 1.353 GB, free: 14.19 MB / 1.061 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.0003557/1.037, allocations: 352.7 kB / 1.354 GB, free: 13.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/1.037, allocations: 10.62 kB / 1.354 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/1.037, allocations: 30.75 kB / 1.354 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/1.037, allocations: 42.06 kB / 1.354 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/1.038, allocations: 167.3 kB / 1.354 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/1.038, allocations: 4.75 kB / 1.354 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/1.038, allocations: 1.094 kB / 1.354 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/1.038, allocations: 44.94 kB / 1.354 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/1.038, allocations: 0.6875 kB / 1.354 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/1.038, allocations: 4 kB / 1.354 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.038, allocations: 4.75 kB / 1.354 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/1.038, allocations: 17.08 kB / 1.354 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/1.038, allocations: 248.3 kB / 1.354 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.116e-05/1.038, allocations: 32.44 kB / 1.354 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/1.038, allocations: 13.28 kB / 1.354 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/1.038, allocations: 2.906 kB / 1.354 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/1.038, allocations: 38.5 kB / 1.354 GB, free: 13.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.038, allocations: 1.312 kB / 1.354 GB, free: 13.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001425/1.039, allocations: 44.41 kB / 1.354 GB, free: 13.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/1.039, allocations: 52.66 kB / 1.354 GB, free: 13.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/1.039, allocations: 113.5 kB / 1.354 GB, free: 12.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/1.039, allocations: 29.7 kB / 1.354 GB, free: 12.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/1.039, allocations: 85.7 kB / 1.354 GB, free: 12.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/1.039, allocations: 5.969 kB / 1.354 GB, free: 12.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/1.039, allocations: 22.08 kB / 1.354 GB, free: 12.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/1.039, allocations: 317.2 kB / 1.355 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.925e-05/1.039, allocations: 9.312 kB / 1.355 GB, free: 12.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.476e-05/1.039, allocations: 13.89 kB / 1.355 GB, free: 12.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.994e-05/1.039, allocations: 22.48 kB / 1.355 GB, free: 12.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.039, allocations: 0 / 1.355 GB, free: 12.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002103/1.039, allocations: 60.84 kB / 1.355 GB, free: 12.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.039, allocations: 5.469 kB / 1.355 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.04, allocations: 0 / 1.355 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.04, allocations: 2.031 kB / 1.355 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/1.04, allocations: 12.94 kB / 1.355 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/1.04, allocations: 0 / 1.355 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/1.04, allocations: 13.45 kB / 1.355 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/1.04, allocations: 5.266 kB / 1.355 GB, free: 12.43 MB / 1.061 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 6.391e-05/1.04, allocations: 108.2 kB / 1.355 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/1.04, allocations: 9.672 kB / 1.355 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/1.04, allocations: 3.875 kB / 1.355 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/1.04, allocations: 5.156 kB / 1.355 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.04, allocations: 0 / 1.355 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.04, allocations: 5.969 kB / 1.355 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/1.04, allocations: 151.8 kB / 1.355 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.04, allocations: 1.344 kB / 1.355 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/1.04, allocations: 2.828 kB / 1.355 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.04, allocations: 1.281 kB / 1.355 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/1.04, allocations: 1.359 kB / 1.355 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.04, allocations: 0 / 1.355 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.04, allocations: 0.9375 kB / 1.355 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/1.04, allocations: 143.7 kB / 1.355 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/1.04, allocations: 83.52 kB / 1.355 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/1.04, allocations: 2.016 kB / 1.355 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/1.041, allocations: 6.891 kB / 1.355 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/1.041, allocations: 1.188 kB / 1.355 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/1.041, allocations: 4.734 kB / 1.355 GB, free: 11.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.539e-05/1.041, allocations: 92.83 kB / 1.356 GB, free: 11.78 MB / 1.061 GB Notification: Performance of sort global known variables: time 2e-07/1.041, allocations: 0 / 1.356 GB, free: 11.78 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002672/1.041, allocations: 16.03 kB / 1.356 GB, free: 11.78 MB / 1.061 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.0003934/1.041, allocations: 0.6769 MB / 1.356 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001422/1.041, allocations: 29.33 kB / 1.356 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.041, allocations: 0 / 1.356 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/1.042, allocations: 4.234 kB / 1.356 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/1.042, allocations: 12.7 kB / 1.356 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/1.042, allocations: 157.1 kB / 1.356 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/1.042, allocations: 0.6789 MB / 1.357 GB, free: 10.24 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.681e-05/1.043, allocations: 11.3 kB / 1.357 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/1.043, allocations: 10.78 kB / 1.357 GB, free: 10.23 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.043, allocations: 0 / 1.357 GB, free: 10.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/1.061, allocations: 1.61 MB / 1.359 GB, free: 9.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.92, allocations: 13.86 kB / 1.359 GB, free: 9.879 MB / 1.061 GB (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 --timeout=50 --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) 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) Reference file matches