Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_10_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.005197/0.005197, allocations: 100.5 kB / 15.73 MB, free: 6.496 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.001321/0.001321, allocations: 199 kB / 16.68 MB, free: 6.375 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.46/1.46, 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 10.1.1-maint.10.0.x/package.mo): time 2.77/2.77, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.88 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3308, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002527/0.3333, allocations: 1.278 MB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7105/1.044, allocations: 147.6 MB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/1.044, allocations: 4 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/1.044, allocations: 2.109 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/1.044, allocations: 7.641 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/1.045, allocations: 118.5 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.475e-05/1.045, allocations: 22.66 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/1.045, allocations: 4.125 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/1.045, allocations: 4.672 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/1.045, allocations: 8.703 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/1.045, allocations: 4 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/1.045, allocations: 176.3 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/1.045, allocations: 0 / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/1.045, allocations: 12.3 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/1.046, allocations: 110.9 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.046, allocations: 0.5156 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/1.046, allocations: 1.281 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.99e-06/1.046, allocations: 0 / 1.312 GB, free: 12.36 MB / 1.014 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.0004109/1.046, allocations: 349.3 kB / 1.312 GB, free: 12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/1.046, allocations: 13.59 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/1.046, allocations: 36.48 kB / 1.312 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/1.047, allocations: 37.75 kB / 1.312 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/1.047, allocations: 162.7 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/1.047, allocations: 5.344 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/1.047, allocations: 1.344 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/1.047, allocations: 52 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.047, allocations: 1.781 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/1.047, allocations: 1.281 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.047, allocations: 0 / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/1.047, allocations: 20.22 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/1.048, allocations: 260.7 kB / 1.313 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.492e-05/1.048, allocations: 26.67 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/1.048, allocations: 9.719 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/1.048, allocations: 5 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/1.048, allocations: 31.27 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.048, allocations: 1.344 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001521/1.048, allocations: 43.78 kB / 1.313 GB, free: 11.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/1.048, allocations: 56.47 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/1.048, allocations: 107.8 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/1.048, allocations: 31.38 kB / 1.313 GB, free: 11.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/1.048, allocations: 86.02 kB / 1.313 GB, free: 11.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.707e-06/1.048, allocations: 7.203 kB / 1.313 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/1.048, allocations: 19.22 kB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.048, allocations: 320.3 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/1.048, allocations: 12.69 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/1.049, allocations: 11.53 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.887e-05/1.049, allocations: 21.12 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.049, allocations: 1.062 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001975/1.049, allocations: 60.16 kB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.049, allocations: 9.562 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.049, allocations: 1.031 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.049, allocations: 0 / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/1.049, allocations: 9.422 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.049, allocations: 1.891 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/1.049, allocations: 17.11 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/1.049, allocations: 2.219 kB / 1.314 GB, free: 10.65 MB / 1.014 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.173e-05/1.049, allocations: 112.8 kB / 1.314 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/1.049, allocations: 1.219 kB / 1.314 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/1.049, allocations: 7.172 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/1.049, allocations: 1.859 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.049, allocations: 0 / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.049, allocations: 3.938 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/1.05, allocations: 153.8 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.05, allocations: 0 / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/1.05, allocations: 4.875 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.05, allocations: 0 / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/1.05, allocations: 8.141 kB / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.05, allocations: 1.125 kB / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.05, allocations: 3.938 kB / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/1.05, allocations: 138.7 kB / 1.314 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/1.05, allocations: 79.73 kB / 1.314 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/1.05, allocations: 1.344 kB / 1.314 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.782e-05/1.05, allocations: 2.703 kB / 1.314 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/1.05, allocations: 5.797 kB / 1.314 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/1.05, allocations: 4.719 kB / 1.314 GB, free: 10.08 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001056/1.05, allocations: 98.73 kB / 1.314 GB, free: 10 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.05, allocations: 1.25 kB / 1.314 GB, free: 10 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002649/1.05, allocations: 15.06 kB / 1.314 GB, free: 9.996 MB / 1.014 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.0005102/1.051, allocations: 0.6875 MB / 1.315 GB, free: 9.332 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001499/1.051, allocations: 20.52 kB / 1.315 GB, free: 9.332 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.051, allocations: 0 / 1.315 GB, free: 9.332 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/1.051, allocations: 4.25 kB / 1.315 GB, free: 9.332 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/1.051, allocations: 14.55 kB / 1.315 GB, free: 9.328 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/1.052, allocations: 159 kB / 1.315 GB, free: 9.172 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/1.052, allocations: 0.674 MB / 1.316 GB, free: 8.477 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.142e-05/1.052, allocations: 7.344 kB / 1.316 GB, free: 8.473 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/1.052, allocations: 10.33 kB / 1.316 GB, free: 8.465 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/1.052, allocations: 1.25 kB / 1.316 GB, free: 8.465 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/1.075, allocations: 1.597 MB / 1.318 GB, free: 8.094 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/9.161, allocations: 13.02 kB / 1.318 GB, free: 8.086 MB / 1.014 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches