Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_9_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.001428/0.001428, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001638/0.001638, allocations: 195.7 kB / 16.14 MB, free: 6.691 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5993/0.6008, allocations: 140.4 MB / 0.949 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002219/0.603, allocations: 1.352 MB / 0.9504 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1391/0.7422, allocations: 145.3 MB / 1.092 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.7422, allocations: 0 / 1.092 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.7423, allocations: 3.938 kB / 1.092 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.7424, allocations: 3.984 kB / 1.092 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.7427, allocations: 107.5 kB / 1.092 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.609e-05/0.7428, allocations: 19.88 kB / 1.092 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.7428, allocations: 0 / 1.092 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.7429, allocations: 7.938 kB / 1.092 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.203e-05/0.7429, allocations: 15.92 kB / 1.092 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.709e-06/0.7429, allocations: 0 / 1.092 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.7433, allocations: 171.7 kB / 1.093 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.7433, allocations: 11.98 kB / 1.093 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.7434, allocations: 7.938 kB / 1.093 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.7436, allocations: 118 kB / 1.093 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7436, allocations: 0 / 1.093 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7436, allocations: 0 / 1.093 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.7436, allocations: 0 / 1.093 GB, free: 14.42 MB / 0.8575 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.0003012/0.7439, allocations: 347.5 kB / 1.093 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.744, allocations: 8.031 kB / 1.093 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.744, allocations: 38.73 kB / 1.093 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005428/0.7445, allocations: 36.89 kB / 1.093 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.925e-05/0.7447, allocations: 168.1 kB / 1.093 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.7447, allocations: 4 kB / 1.093 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.7447, allocations: 4 kB / 1.093 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.7449, allocations: 53.59 kB / 1.093 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.7449, allocations: 0 / 1.093 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.7449, allocations: 4 kB / 1.093 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.7449, allocations: 0 / 1.093 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.745, allocations: 15.98 kB / 1.093 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.7453, allocations: 256.8 kB / 1.094 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.43e-05/0.7454, allocations: 18.58 kB / 1.094 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.7454, allocations: 20.86 kB / 1.094 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.7454, allocations: 0 / 1.094 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.7455, allocations: 34.56 kB / 1.094 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.7455, allocations: 0 / 1.094 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001374/0.7456, allocations: 41.69 kB / 1.094 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.7457, allocations: 51.41 kB / 1.094 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.7458, allocations: 117.9 kB / 1.094 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.7458, allocations: 25.7 kB / 1.094 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.7458, allocations: 84.08 kB / 1.094 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-06/0.7459, allocations: 11.84 kB / 1.094 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.7459, allocations: 21.69 kB / 1.094 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.746, allocations: 314.8 kB / 1.094 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.371e-05/0.7461, allocations: 15.92 kB / 1.094 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.7461, allocations: 12 kB / 1.094 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.169e-05/0.7462, allocations: 20.84 kB / 1.094 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7462, allocations: 0 / 1.094 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001834/0.7464, allocations: 65.56 kB / 1.094 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.7464, allocations: 4 kB / 1.094 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.7464, allocations: 3.938 kB / 1.094 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.7465, allocations: 4 kB / 1.094 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.7466, allocations: 11.98 kB / 1.094 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7466, allocations: 3.938 kB / 1.094 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.7467, allocations: 7.938 kB / 1.094 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.7467, allocations: 7.984 kB / 1.094 GB, free: 12.39 MB / 0.8575 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.41e-05/0.7468, allocations: 105.8 kB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.7468, allocations: 0 / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.7469, allocations: 11.45 kB / 1.095 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.7469, allocations: 4 kB / 1.095 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.7469, allocations: 0 / 1.095 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7469, allocations: 7.922 kB / 1.095 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.747, allocations: 153.7 kB / 1.095 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.747, allocations: 0 / 1.095 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.7471, allocations: 8 kB / 1.095 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7471, allocations: 0 / 1.095 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.7471, allocations: 0 / 1.095 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7471, allocations: 3.984 kB / 1.095 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7471, allocations: 0 / 1.095 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.998e-05/0.7472, allocations: 139.4 kB / 1.095 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.7472, allocations: 81.11 kB / 1.095 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.7473, allocations: 7.984 kB / 1.095 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.7474, allocations: 0 / 1.095 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.7474, allocations: 7.938 kB / 1.095 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.7474, allocations: 0 / 1.095 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.734e-05/0.7475, allocations: 95.3 kB / 1.095 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.473e-06/0.7475, allocations: 0 / 1.095 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002372/0.7477, allocations: 19.94 kB / 1.095 GB, free: 11.66 MB / 0.8575 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.0003982/0.7481, allocations: 0.6773 MB / 1.096 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.7483, allocations: 23.95 kB / 1.096 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7483, allocations: 4 kB / 1.096 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.036e-05/0.7483, allocations: 4 kB / 1.096 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.7486, allocations: 22.95 kB / 1.096 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.749, allocations: 150.6 kB / 1.096 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.7493, allocations: 0.677 MB / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.721e-05/0.7494, allocations: 11.94 kB / 1.097 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.7494, allocations: 7.438 kB / 1.097 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.7494, allocations: 0 / 1.097 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01015/0.7595, allocations: 1.445 MB / 1.098 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003017/0.7599, allocations: 221.2 kB / 1.098 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.452, allocations: 0 / 1.098 GB, free: 8.41 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches