Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.005593/0.005597, 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.001226/0.001226, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.31 kB / 0.9504 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2465, allocations: 140.4 MB / 1.087 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002742/0.2492, allocations: 1.412 MB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.2502, allocations: 0.5903 MB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.487e-05/0.2503, allocations: 4 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.2503, allocations: 3.938 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.157e-05/0.2504, allocations: 3.938 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.2508, allocations: 95.67 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.879e-05/0.2509, allocations: 31.92 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.251, allocations: 7.984 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/0.2511, allocations: 8 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.715e-05/0.2511, allocations: 15.75 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.2512, allocations: 4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.2515, allocations: 147.8 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.2515, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.2515, allocations: 11.88 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.2518, allocations: 99.97 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2519, allocations: 4 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2519, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2519, allocations: 0 / 1.09 GB, free: 15.59 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.0004737/0.2524, allocations: 355.2 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2524, allocations: 12.03 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/0.2525, allocations: 30.75 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004228/0.2529, allocations: 40.83 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.253, allocations: 160.4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.253, allocations: 4.375 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.253, allocations: 384 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.2533, allocations: 62.2 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2533, allocations: 3.938 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2533, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2533, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.2536, allocations: 55.94 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.254, allocations: 280.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.2543, allocations: 66.41 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.2544, allocations: 32.89 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.2544, allocations: 3.984 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.2545, allocations: 30.56 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2545, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005334/0.255, allocations: 121.5 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.2551, allocations: 51.41 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.2551, allocations: 101.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.2552, allocations: 25.83 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.2552, allocations: 92.12 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.2552, allocations: 3.953 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.2553, allocations: 21.7 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2554, allocations: 310.8 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.2555, allocations: 23.97 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2557, allocations: 31.97 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.256, allocations: 56.8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.256, allocations: 3.938 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004646/0.2565, allocations: 93.64 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2565, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2566, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2566, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.2568, allocations: 19.97 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2568, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.2569, allocations: 8 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.257, allocations: 11.95 kB / 1.092 GB, free: 13.28 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 (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 9.585e-05/0.2571, allocations: 109.8 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.2571, allocations: 7.953 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.2572, allocations: 7.125 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2572, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2572, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2572, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.2575, allocations: 169.6 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2575, allocations: 3.984 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.2577, allocations: 11.98 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.2577, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2577, allocations: 3.938 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.2577, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2578, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.2583, allocations: 191.4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.2584, allocations: 77.11 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.2584, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.2586, allocations: 11.98 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.2586, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.2587, allocations: 7.984 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.734e-05/0.2587, allocations: 83.31 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2587, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004832/0.2592, allocations: 15.94 kB / 1.093 GB, free: 12.5 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.00096/0.2602, allocations: 0.7357 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004581/0.2607, allocations: 55.94 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2607, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.2609, allocations: 36.06 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.2614, allocations: 4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/0.2622, allocations: 168.2 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.2625, allocations: 0.6768 MB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.2627, allocations: 15.94 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.2627, allocations: 7.438 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.2628, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.2844, allocations: 1.648 MB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/7.563, allocations: 10.81 kB / 1.096 GB, free: 9.16 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches