Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.005004/0.005004, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.00111/0.00111, allocations: 189 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.406/2.406, allocations: 437.1 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 63.91 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7454/0.7467, allocations: 151.6 MB / 1.166 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002413/0.7491, allocations: 1.411 MB / 1.168 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004464/0.7496, allocations: 210 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.7496, allocations: 0 / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.7497, allocations: 0 / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.313e-05/0.7497, allocations: 3.938 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.7499, allocations: 27.89 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.581e-05/0.75, allocations: 23.92 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.42e-05/0.7501, allocations: 8 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.7502, allocations: 11.94 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.936e-05/0.7502, allocations: 19.86 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.7502, allocations: 0 / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.7503, allocations: 23.98 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.7503, allocations: 11.97 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.7504, allocations: 11.88 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.7505, allocations: 28.95 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.7505, allocations: 0 / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7505, allocations: 0 / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.7505, allocations: 4 kB / 1.168 GB, free: 2.043 MB / 0.8887 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.0004201/0.7509, allocations: 346 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.751, allocations: 12.92 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.751, allocations: 30.75 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.7511, allocations: 8.891 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.7512, allocations: 168.4 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.7513, allocations: 384 / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.7513, allocations: 4.375 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.7514, allocations: 46.23 kB / 1.168 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.7515, allocations: 7.938 kB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.7515, allocations: 4 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.7515, allocations: 4 kB / 1.168 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.7517, allocations: 35.89 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.752, allocations: 245 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.7521, allocations: 42.56 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.7522, allocations: 24.83 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.7522, allocations: 0 / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.7523, allocations: 34.5 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.7523, allocations: 0 / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003328/0.7526, allocations: 89.59 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.7527, allocations: 51.41 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.196e-05/0.7527, allocations: 101.9 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.7527, allocations: 25.7 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.7528, allocations: 84.12 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.7528, allocations: 3.953 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.7528, allocations: 17.72 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.7529, allocations: 315 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.109e-05/0.753, allocations: 15.98 kB / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.192e-05/0.7531, allocations: 19.97 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.7532, allocations: 36.77 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7533, allocations: 3.938 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001872/0.7534, allocations: 69.72 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.7535, allocations: 4.047 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.7535, allocations: 7.938 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.7535, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.7536, allocations: 7.938 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.7536, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.7537, allocations: 15.88 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.7537, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 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 (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 prepare postOptimizeDAE: time 6.594e-05/0.7537, allocations: 121.8 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.7538, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.754, allocations: 76.72 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.754, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.754, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.754, allocations: 3.984 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.7542, allocations: 161.6 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7542, allocations: 4 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.7543, allocations: 15.98 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7543, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.7543, allocations: 240 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7543, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7543, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.7546, allocations: 187.3 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.7546, allocations: 77.11 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.7546, allocations: 3.984 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.7547, allocations: 4 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.7547, allocations: 3.984 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.7547, allocations: 4 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.093e-05/0.7548, allocations: 79.28 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7548, allocations: 0 / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002237/0.755, allocations: 8 kB / 1.17 GB, free: 15.12 MB / 0.9044 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 (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 Backend phase and start with SimCode phase: time 0.0004541/0.7555, allocations: 0.7045 MB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.7557, allocations: 31.97 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7557, allocations: 4.062 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.143e-05/0.7558, allocations: 27.97 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.7561, allocations: 0 / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.7565, allocations: 148.2 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.7567, allocations: 0.6807 MB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.86e-05/0.7568, allocations: 4 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.7568, allocations: 7.438 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of SimCode: time 4.31e-07/0.7568, allocations: 0 / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.7726, allocations: 1.38 MB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/8.407, allocations: 17.45 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_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_Examples_SaturationPressureLiquid.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches