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.004724/0.004724, allocations: 103.2 kB / 15.73 MB, free: 6.035 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.001104/0.001104, allocations: 194.6 kB / 16.68 MB, free: 5.953 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.163/2.163, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 55.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.8005, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00227/0.8028, allocations: 1.41 MB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008311/0.8036, allocations: 0.5923 MB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.062e-05/0.8037, allocations: 1.062 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.8037, allocations: 4.688 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.922e-05/0.8037, allocations: 9.625 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.8041, allocations: 94.81 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.959e-05/0.8041, allocations: 24.95 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/0.8042, allocations: 8.781 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.274e-05/0.8042, allocations: 18.27 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.8043, allocations: 9.984 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.8043, allocations: 1.969 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.8046, allocations: 142.9 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.8046, allocations: 6.172 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.8046, allocations: 12.42 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.8049, allocations: 97.59 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8049, allocations: 1.703 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8049, allocations: 0 / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.8049, allocations: 0 / 1.09 GB, free: 3.727 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.0003226/0.8052, allocations: 363.9 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.8052, allocations: 10.31 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.347e-05/0.8053, allocations: 31.27 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004067/0.8057, allocations: 30.73 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.22e-05/0.8058, allocations: 162.7 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.8058, allocations: 1.922 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.8058, allocations: 9.375 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.806, allocations: 71.69 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.806, allocations: 3.938 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.806, allocations: 1.062 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.8061, allocations: 0 / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.8063, allocations: 59.17 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.8067, allocations: 267 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.8069, allocations: 60.28 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.8071, allocations: 38.55 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.8071, allocations: 2.172 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.8071, allocations: 35.59 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8071, allocations: 0 / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000493/0.8076, allocations: 115 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.8077, allocations: 53.41 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.503e-05/0.8077, allocations: 100.9 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.8077, allocations: 25.7 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.006e-05/0.8078, allocations: 81.84 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.8078, allocations: 9.547 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.8078, allocations: 23.56 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.274e-05/0.8079, allocations: 312.4 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.808, allocations: 25.88 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.8082, allocations: 25.83 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.8084, allocations: 70.89 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.8084, allocations: 3.938 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000323/0.8088, allocations: 83.19 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.8088, allocations: 10.08 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.8088, allocations: 0.8125 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.8088, allocations: 0 / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.8089, allocations: 14.2 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.809, allocations: 1.031 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.005e-05/0.8091, allocations: 7.453 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.8091, allocations: 2.266 kB / 1.092 GB, free: 1.906 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 5.104e-05/0.8091, allocations: 116.5 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.8092, allocations: 5.984 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.8092, allocations: 8.938 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.8092, allocations: 3.938 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.8092, allocations: 1.188 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.8092, allocations: 0.7969 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.8094, allocations: 172 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8094, allocations: 0.7969 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.8095, allocations: 21.48 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8095, allocations: 0 / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.8095, allocations: 2.5 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8095, allocations: 1.125 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.8095, allocations: 0.7969 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.8099, allocations: 186.8 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.8099, allocations: 82.48 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.8099, allocations: 4.75 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.81, allocations: 9.031 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.8101, allocations: 2.203 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.8101, allocations: 1.906 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.306e-05/0.8101, allocations: 83.8 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8101, allocations: 5.125 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002535/0.8104, allocations: 19.3 kB / 1.093 GB, free: 1.219 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.0005864/0.811, allocations: 0.7276 MB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.8113, allocations: 55.11 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8113, allocations: 0 / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.8114, allocations: 37.8 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.8117, allocations: 6.172 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.8123, allocations: 158.6 kB / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.8125, allocations: 0.6755 MB / 1.094 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.483e-05/0.8126, allocations: 11.91 kB / 1.094 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.8127, allocations: 16.47 kB / 1.094 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8127, allocations: 0 / 1.094 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.353/2.166, allocations: 1.664 MB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/15.91, allocations: 6.703 kB / 1.096 GB, free: 15.27 MB / 0.8731 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