Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_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.007106/0.007106, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001741/0.001741, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.151/2.151, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.91 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.7448, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002091/0.7469, allocations: 1.41 MB / 1.089 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003899/0.7473, allocations: 204.9 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.7474, allocations: 0 / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.7474, allocations: 0.6094 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.7474, allocations: 5.453 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.7476, allocations: 24.27 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.161e-05/0.7477, allocations: 32.48 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.7478, allocations: 8.609 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.7478, allocations: 9.484 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.7479, allocations: 9.922 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.7479, allocations: 1.938 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.748, allocations: 24.66 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.748, allocations: 6.391 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.748, allocations: 11.91 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.7481, allocations: 36.62 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7482, allocations: 0 / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7482, allocations: 0 / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7482, allocations: 4 kB / 1.089 GB, free: 4.086 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.0003506/0.7485, allocations: 339.5 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.7486, allocations: 9.406 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.7486, allocations: 35.34 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.7487, allocations: 8.609 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.203e-05/0.7488, allocations: 167.8 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.7488, allocations: 0.8906 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.7488, allocations: 2.438 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.749, allocations: 52.88 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.749, allocations: 3.938 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.749, allocations: 1.406 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.749, allocations: 0 / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.7492, allocations: 37.19 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.7495, allocations: 247.2 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.7496, allocations: 44.2 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.7497, allocations: 20.06 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.7497, allocations: 5.328 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.7498, allocations: 35.08 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7498, allocations: 1.406 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003402/0.7501, allocations: 87.78 kB / 1.09 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.7501, allocations: 55.34 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.183e-05/0.7502, allocations: 101.3 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.7502, allocations: 26.8 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.7502, allocations: 82.06 kB / 1.09 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.7503, allocations: 8.562 kB / 1.09 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.7503, allocations: 17.56 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.861e-05/0.7503, allocations: 312.3 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.7504, allocations: 18.38 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.7505, allocations: 15.06 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.7507, allocations: 37.69 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7507, allocations: 11.94 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.7509, allocations: 70.95 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.7509, allocations: 5.594 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7509, allocations: 0.7969 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.7509, allocations: 1.125 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.751, allocations: 8.484 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.751, allocations: 0 / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.7511, allocations: 14.73 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.7511, allocations: 1.656 kB / 1.091 GB, free: 2.32 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 4.347e-05/0.7511, allocations: 111.5 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.7511, allocations: 1.094 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.7514, allocations: 79.91 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7514, allocations: 0 / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.7514, allocations: 5.188 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7514, allocations: 0.5156 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.7515, allocations: 169 kB / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7515, allocations: 0 / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.098e-05/0.7516, allocations: 10.69 kB / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7516, allocations: 0.6875 kB / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.7516, allocations: 0.7188 kB / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.7516, allocations: 1.422 kB / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.7516, allocations: 0 / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.7519, allocations: 173.8 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.7519, allocations: 78.89 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.7519, allocations: 5.375 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.752, allocations: 6.5 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.752, allocations: 6.406 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.752, allocations: 5.344 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.938e-05/0.7521, allocations: 84.55 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7521, allocations: 4 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000216/0.7523, allocations: 3.844 kB / 1.092 GB, free: 1.613 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 (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.0003858/0.7527, allocations: 0.6956 MB / 1.092 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.7529, allocations: 44.95 kB / 1.092 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7529, allocations: 0.8125 kB / 1.092 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.753, allocations: 26.05 kB / 1.092 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.7533, allocations: 2.781 kB / 1.092 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.7537, allocations: 153.5 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.7539, allocations: 0.6814 MB / 1.093 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.7539, allocations: 5.359 kB / 1.093 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.754, allocations: 14.25 kB / 1.093 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.754, allocations: 0 / 1.093 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.7686, allocations: 1.372 MB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.971, allocations: 9.125 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches