Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_11_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.008481/0.008481, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.002281/0.002281, allocations: 202.2 kB / 16.68 MB, free: 5.961 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.026/3.026, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 63.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3203, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002362/0.3227, allocations: 1.301 MB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8147/1.137, allocations: 147.6 MB / 1.366 GB, free: 20 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/1.138, allocations: 0 / 1.366 GB, free: 20 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/1.138, allocations: 0.5625 kB / 1.366 GB, free: 20 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.186e-05/1.138, allocations: 6.656 kB / 1.366 GB, free: 16 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/1.138, allocations: 121.3 kB / 1.366 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.359e-05/1.138, allocations: 14.22 kB / 1.366 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/1.138, allocations: 8.469 kB / 1.366 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/1.138, allocations: 12.08 kB / 1.366 GB, free: 15.94 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/1.138, allocations: 9.297 kB / 1.366 GB, free: 15.94 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/1.138, allocations: 5.406 kB / 1.366 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004618/1.139, allocations: 165.7 kB / 1.366 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/1.139, allocations: 6.203 kB / 1.366 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/1.139, allocations: 11.91 kB / 1.366 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/1.139, allocations: 109.3 kB / 1.366 GB, free: 15.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.139, allocations: 0 / 1.366 GB, free: 15.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/1.139, allocations: 0 / 1.366 GB, free: 15.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.139, allocations: 0 / 1.366 GB, free: 15.86 MB / 1.076 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.0004002/1.14, allocations: 355.7 kB / 1.366 GB, free: 15.48 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/1.14, allocations: 9.375 kB / 1.366 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/1.14, allocations: 32.39 kB / 1.366 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005357/1.14, allocations: 37.92 kB / 1.366 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/1.14, allocations: 167.6 kB / 1.367 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/1.14, allocations: 7.938 kB / 1.367 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/1.14, allocations: 9.375 kB / 1.367 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/1.141, allocations: 44.91 kB / 1.367 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/1.141, allocations: 1.781 kB / 1.367 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/1.141, allocations: 0 / 1.367 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/1.141, allocations: 1.094 kB / 1.367 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/1.141, allocations: 20.06 kB / 1.367 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/1.141, allocations: 256.3 kB / 1.367 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.507e-05/1.141, allocations: 28.81 kB / 1.367 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/1.141, allocations: 9.578 kB / 1.367 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/1.141, allocations: 1.281 kB / 1.367 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/1.141, allocations: 32.56 kB / 1.367 GB, free: 14.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 2.876e-06/1.141, allocations: 4 kB / 1.367 GB, free: 14.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001477/1.142, allocations: 44.36 kB / 1.367 GB, free: 14.79 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/1.142, allocations: 52.16 kB / 1.367 GB, free: 14.73 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/1.142, allocations: 110.4 kB / 1.367 GB, free: 14.62 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/1.142, allocations: 33.64 kB / 1.367 GB, free: 14.59 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/1.142, allocations: 84.94 kB / 1.367 GB, free: 14.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/1.142, allocations: 6.562 kB / 1.367 GB, free: 14.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/1.142, allocations: 22.3 kB / 1.367 GB, free: 14.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.142, allocations: 319.4 kB / 1.368 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/1.142, allocations: 9.328 kB / 1.368 GB, free: 14.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/1.142, allocations: 14.53 kB / 1.368 GB, free: 14.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/1.142, allocations: 22.44 kB / 1.368 GB, free: 14.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.142, allocations: 0 / 1.368 GB, free: 14.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001985/1.142, allocations: 60 kB / 1.368 GB, free: 14.1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.142, allocations: 7.797 kB / 1.368 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/1.143, allocations: 0 / 1.368 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/1.143, allocations: 1.625 kB / 1.368 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/1.143, allocations: 13.11 kB / 1.368 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/1.143, allocations: 0.7969 kB / 1.368 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/1.143, allocations: 11.16 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/1.143, allocations: 6.516 kB / 1.368 GB, free: 14.09 MB / 1.076 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 8.841e-05/1.143, allocations: 112.7 kB / 1.368 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/1.143, allocations: 6.172 kB / 1.368 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/1.143, allocations: 3.734 kB / 1.368 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/1.143, allocations: 5.484 kB / 1.368 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.143, allocations: 0 / 1.368 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/1.143, allocations: 4.641 kB / 1.368 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/1.143, allocations: 152.7 kB / 1.368 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.143, allocations: 2.469 kB / 1.368 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/1.143, allocations: 6.469 kB / 1.368 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.143, allocations: 2.062 kB / 1.368 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/1.143, allocations: 0 / 1.368 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.143, allocations: 1.5 kB / 1.368 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.143, allocations: 1.984 kB / 1.368 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/1.143, allocations: 138.7 kB / 1.368 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/1.143, allocations: 79.75 kB / 1.368 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/1.143, allocations: 0 / 1.368 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/1.144, allocations: 11.47 kB / 1.368 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/1.144, allocations: 2.281 kB / 1.368 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/1.144, allocations: 3.938 kB / 1.368 GB, free: 13.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001017/1.144, allocations: 91.42 kB / 1.368 GB, free: 13.44 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.144, allocations: 0 / 1.368 GB, free: 13.44 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002446/1.144, allocations: 17.06 kB / 1.368 GB, free: 13.43 MB / 1.076 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.0005146/1.145, allocations: 0.6858 MB / 1.369 GB, free: 12.76 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001499/1.145, allocations: 24.5 kB / 1.369 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.145, allocations: 1.375 kB / 1.369 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/1.145, allocations: 4.266 kB / 1.369 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/1.145, allocations: 20.53 kB / 1.369 GB, free: 12.74 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/1.145, allocations: 146.9 kB / 1.369 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/1.146, allocations: 0.6758 MB / 1.37 GB, free: 11.9 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.082e-05/1.146, allocations: 11.44 kB / 1.37 GB, free: 11.89 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/1.146, allocations: 10.28 kB / 1.37 GB, free: 11.88 MB / 1.076 GB Notification: Performance of SimCode: time 2.61e-07/1.146, allocations: 0 / 1.37 GB, free: 11.88 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/1.168, allocations: 1.602 MB / 1.372 GB, free: 11.51 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/9.33, allocations: 6.641 kB / 1.372 GB, free: 11.51 MB / 1.076 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches