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.001216/0.001216, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001244/0.001244, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.206/1.206, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.077/2.077, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5006/0.5018, allocations: 140.4 MB / 0.9492 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002022/0.5039, allocations: 1.463 MB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007838/0.5047, allocations: 0.5931 MB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.5047, allocations: 0 / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.5048, allocations: 1.031 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-05/0.5048, allocations: 9.109 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.5052, allocations: 89.17 kB / 0.9513 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.5053, allocations: 25.97 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.432e-05/0.5053, allocations: 6.172 kB / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.5054, allocations: 11.72 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.5054, allocations: 7.797 kB / 0.9514 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.5054, allocations: 6.094 kB / 0.9514 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.5057, allocations: 146.5 kB / 0.9515 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.5057, allocations: 11.88 kB / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.5057, allocations: 10.78 kB / 0.9515 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.5059, allocations: 106.1 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.5059, allocations: 1.312 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5059, allocations: 0 / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.5059, allocations: 0 / 0.9516 GB, free: 7.199 MB / 0.7169 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.0003398/0.5062, allocations: 362.5 kB / 0.952 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.5063, allocations: 8.969 kB / 0.952 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.428e-05/0.5063, allocations: 32.25 kB / 0.952 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004058/0.5067, allocations: 36.33 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.706e-05/0.5068, allocations: 165.8 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.5068, allocations: 1.875 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.5068, allocations: 5.469 kB / 0.9522 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.507, allocations: 62.2 kB / 0.9523 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.5071, allocations: 3.938 kB / 0.9523 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.5071, allocations: 5.625 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.5071, allocations: 0 / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.5073, allocations: 50.97 kB / 0.9524 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.5077, allocations: 276.2 kB / 0.9526 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.5079, allocations: 67.8 kB / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.5081, allocations: 35.42 kB / 0.9527 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.5081, allocations: 1.125 kB / 0.9527 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.5081, allocations: 35.53 kB / 0.9527 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5081, allocations: 0 / 0.9527 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004514/0.5086, allocations: 115.2 kB / 0.9529 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.5086, allocations: 55.53 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.323e-05/0.5087, allocations: 103.3 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.5087, allocations: 25.7 kB / 0.953 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.123e-05/0.5087, allocations: 81.61 kB / 0.9531 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.5087, allocations: 9.172 kB / 0.9531 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.5088, allocations: 16.16 kB / 0.9531 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.5088, allocations: 312.1 kB / 0.9534 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.5089, allocations: 29.78 kB / 0.9535 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.5091, allocations: 26.03 kB / 0.9535 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.5093, allocations: 55.52 kB / 0.9535 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5093, allocations: 9.5 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002538/0.5095, allocations: 85.52 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5096, allocations: 4.844 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.5096, allocations: 0 / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5096, allocations: 8.969 kB / 0.9536 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.5097, allocations: 19.5 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.5097, allocations: 4.812 kB / 0.9537 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.353e-05/0.5098, allocations: 8.922 kB / 0.9537 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.5098, allocations: 1.312 kB / 0.9537 GB, free: 5.191 MB / 0.7169 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.749e-05/0.5099, allocations: 111.3 kB / 0.9538 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.5099, allocations: 5.438 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.51, allocations: 8.938 kB / 0.9538 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.51, allocations: 4 kB / 0.9538 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.51, allocations: 0 / 0.9538 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.51, allocations: 5.578 kB / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.5101, allocations: 167.2 kB / 0.954 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5101, allocations: 0 / 0.954 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.5102, allocations: 12.33 kB / 0.954 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.5102, allocations: 0 / 0.954 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.5102, allocations: 1.406 kB / 0.954 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5102, allocations: 0 / 0.954 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5102, allocations: 5.297 kB / 0.954 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.5105, allocations: 187.5 kB / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.5105, allocations: 82.64 kB / 0.9542 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.5106, allocations: 1.469 kB / 0.9542 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.5107, allocations: 11.83 kB / 0.9543 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.5107, allocations: 10.73 kB / 0.9543 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.5107, allocations: 0 / 0.9543 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.925e-05/0.5108, allocations: 78.66 kB / 0.9543 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5108, allocations: 0 / 0.9543 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002239/0.511, allocations: 11.34 kB / 0.9543 GB, free: 4.484 MB / 0.7169 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.0004545/0.5114, allocations: 0.733 MB / 0.9551 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00027/0.5117, allocations: 66.62 kB / 0.9551 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.5117, allocations: 1.75 kB / 0.9551 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.5119, allocations: 27.44 kB / 0.9552 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.5121, allocations: 2.953 kB / 0.9552 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.5126, allocations: 172.2 kB / 0.9553 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.869e-05/0.5127, allocations: 0.6858 MB / 0.956 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.515e-05/0.5128, allocations: 9.781 kB / 0.956 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.5129, allocations: 13.73 kB / 0.956 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.5129, allocations: 3.938 kB / 0.956 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01002/0.5229, allocations: 1.497 MB / 0.9575 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001184/0.523, allocations: 210.5 kB / 0.9577 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.158, allocations: 0 / 0.9577 GB, free: 1.824 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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