Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_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.00815/0.00815, allocations: 101.9 kB / 15.73 MB, free: 5.516 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.001825/0.001825, allocations: 196.6 kB / 16.68 MB, free: 5.445 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.627/2.627, allocations: 469.4 MB / 0.7421 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 75.81 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7413/0.7427, allocations: 159.1 MB / 1.22 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002822/0.7455, allocations: 1.402 MB / 1.221 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005144/0.7461, allocations: 207.4 kB / 1.221 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.7462, allocations: 0 / 1.221 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.7462, allocations: 4 kB / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.7463, allocations: 7.922 kB / 1.221 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.7465, allocations: 15.92 kB / 1.221 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.002e-05/0.7466, allocations: 27.91 kB / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.7467, allocations: 4 kB / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.7467, allocations: 11.92 kB / 1.221 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.029e-05/0.7468, allocations: 12 kB / 1.221 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.7468, allocations: 4 kB / 1.221 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.555e-05/0.7469, allocations: 35.91 kB / 1.221 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.7469, allocations: 4 kB / 1.221 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.747, allocations: 7.938 kB / 1.221 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.7471, allocations: 38.56 kB / 1.221 GB, free: 476 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7471, allocations: 0 / 1.221 GB, free: 476 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7471, allocations: 0 / 1.221 GB, free: 476 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7471, allocations: 0 / 1.221 GB, free: 476 kB / 0.9356 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.000504/0.7476, allocations: 344.4 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.7477, allocations: 12.61 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.7477, allocations: 38.69 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.7478, allocations: 8.891 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.748, allocations: 160.4 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.748, allocations: 4.375 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.748, allocations: 4.375 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.7482, allocations: 46.23 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.7482, allocations: 3.938 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.7482, allocations: 8 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.7482, allocations: 0 / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.7484, allocations: 39.89 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.7488, allocations: 240.9 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.7489, allocations: 46.53 kB / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/0.749, allocations: 20.91 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.749, allocations: 0 / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.7491, allocations: 30.56 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.7491, allocations: 3.938 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003618/0.7494, allocations: 89.69 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.7495, allocations: 51.41 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.7496, allocations: 101.8 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.7496, allocations: 25.7 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.7496, allocations: 80.14 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.7497, allocations: 11.89 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.7497, allocations: 13.72 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.7498, allocations: 318.8 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.7499, allocations: 20.02 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.75, allocations: 11.98 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.7502, allocations: 40.77 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7502, allocations: 3.938 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002112/0.7504, allocations: 69.72 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.7504, allocations: 4 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.7504, allocations: 0 / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.7504, allocations: 0 / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.7505, allocations: 11.98 kB / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7505, allocations: 0 / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.7506, allocations: 15.92 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.7506, allocations: 0 / 1.223 GB, free: 14.39 MB / 0.9512 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.909e-05/0.7507, allocations: 117.8 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.7507, allocations: 4 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.751, allocations: 80.89 kB / 1.223 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.751, allocations: 48 / 1.223 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.751, allocations: 3.984 kB / 1.223 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.751, allocations: 0 / 1.223 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.7512, allocations: 165.5 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7512, allocations: 4 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.7513, allocations: 11.98 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7513, allocations: 0 / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.7513, allocations: 8 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.7513, allocations: 4 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7513, allocations: 0 / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.7516, allocations: 171.4 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.7516, allocations: 85.11 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.7517, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.7518, allocations: 7.984 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.7518, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.7518, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.534e-05/0.7518, allocations: 79.28 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7518, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002297/0.7521, allocations: 8 kB / 1.224 GB, free: 13.55 MB / 0.9512 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.0005191/0.7526, allocations: 0.7084 MB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.7528, allocations: 39.95 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7528, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.163e-05/0.7529, allocations: 27.98 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.7532, allocations: 4 kB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.7537, allocations: 152.1 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.7539, allocations: 0.6767 MB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.754, allocations: 7.984 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.754, allocations: 11.44 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.754, allocations: 0 / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.7714, allocations: 1.362 MB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.489, allocations: 13.31 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches