Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001681/0.001681, allocations: 191.6 kB / 16.14 MB, free: 6.699 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.474/2.474, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.876/0.8772, allocations: 140.4 MB / 0.9489 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002288/0.8796, allocations: 1.348 MB / 0.9502 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1807/1.06, allocations: 145.3 MB / 1.092 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/1.06, allocations: 0 / 1.092 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/1.061, allocations: 3.984 kB / 1.092 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/1.061, allocations: 7.922 kB / 1.092 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/1.061, allocations: 99.56 kB / 1.092 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.773e-05/1.061, allocations: 27.86 kB / 1.092 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.786e-05/1.061, allocations: 0 / 1.092 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/1.062, allocations: 4 kB / 1.092 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.611e-05/1.062, allocations: 7.938 kB / 1.092 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/1.062, allocations: 0 / 1.092 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000616/1.062, allocations: 183.7 kB / 1.092 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/1.062, allocations: 7.984 kB / 1.092 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/1.062, allocations: 7.938 kB / 1.093 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003179/1.063, allocations: 117.6 kB / 1.093 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.063, allocations: 0 / 1.093 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/1.063, allocations: 0 / 1.093 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.063, allocations: 0 / 1.093 GB, free: 14.55 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.0004028/1.063, allocations: 351.5 kB / 1.093 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.063, allocations: 8.031 kB / 1.093 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006259/1.064, allocations: 40.89 kB / 1.093 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/1.064, allocations: 164.4 kB / 1.093 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/1.064, allocations: 7.938 kB / 1.093 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/1.064, allocations: 0 / 1.093 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/1.064, allocations: 41.67 kB / 1.093 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/1.064, allocations: 7.922 kB / 1.093 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/1.064, allocations: 0 / 1.093 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/1.064, allocations: 4 kB / 1.093 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/1.064, allocations: 23.97 kB / 1.093 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/1.065, allocations: 252.8 kB / 1.093 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.88e-05/1.065, allocations: 26.56 kB / 1.093 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/1.065, allocations: 8.922 kB / 1.094 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/1.065, allocations: 0 / 1.094 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/1.065, allocations: 38.5 kB / 1.094 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.065, allocations: 0 / 1.094 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002226/1.065, allocations: 41.7 kB / 1.094 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/1.065, allocations: 51.41 kB / 1.094 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/1.065, allocations: 113.8 kB / 1.094 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/1.066, allocations: 25.7 kB / 1.094 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/1.066, allocations: 92.2 kB / 1.094 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/1.066, allocations: 7.844 kB / 1.094 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/1.066, allocations: 17.7 kB / 1.094 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.066, allocations: 318.8 kB / 1.094 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/1.066, allocations: 11.98 kB / 1.094 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.703e-05/1.066, allocations: 7.984 kB / 1.094 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.872e-05/1.066, allocations: 32.78 kB / 1.094 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.066, allocations: 0 / 1.094 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001994/1.066, allocations: 57.67 kB / 1.094 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.066, allocations: 8 kB / 1.094 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.066, allocations: 0 / 1.094 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.066, allocations: 0 / 1.094 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/1.066, allocations: 11.98 kB / 1.094 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/1.066, allocations: 0 / 1.094 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/1.067, allocations: 19.83 kB / 1.094 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/1.067, allocations: 0 / 1.094 GB, free: 12.57 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 (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 prepare postOptimizeDAE: time 0.0001084/1.067, allocations: 113.8 kB / 1.094 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/1.067, allocations: 7.875 kB / 1.094 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/1.067, allocations: 7.109 kB / 1.094 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.067, allocations: 0 / 1.094 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.067, allocations: 0 / 1.094 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.067, allocations: 7.938 kB / 1.094 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/1.067, allocations: 157.7 kB / 1.095 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.067, allocations: 4 kB / 1.095 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/1.067, allocations: 0 / 1.095 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.067, allocations: 0 / 1.095 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/1.067, allocations: 0 / 1.095 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.067, allocations: 4 kB / 1.095 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.067, allocations: 0 / 1.095 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/1.067, allocations: 135.8 kB / 1.095 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/1.067, allocations: 81.14 kB / 1.095 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/1.067, allocations: 4 kB / 1.095 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/1.068, allocations: 3.984 kB / 1.095 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/1.068, allocations: 3.984 kB / 1.095 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/1.068, allocations: 7.938 kB / 1.095 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.775e-05/1.068, allocations: 95.2 kB / 1.095 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.753e-06/1.068, allocations: 0 / 1.095 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002699/1.068, allocations: 19.94 kB / 1.095 GB, free: 11.83 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.0002277/1.068, allocations: 115.2 kB / 1.095 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001558/1.068, allocations: 15.98 kB / 1.095 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.068, allocations: 0 / 1.095 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.507e-05/1.068, allocations: 4 kB / 1.095 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/1.069, allocations: 15.05 kB / 1.095 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/1.069, allocations: 128.8 kB / 1.095 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/1.069, allocations: 0.6731 MB / 1.096 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.389e-05/1.07, allocations: 11.92 kB / 1.096 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/1.07, allocations: 11.44 kB / 1.096 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.07, allocations: 0 / 1.096 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of Templates: time 0.003293/1.073, allocations: 0.7132 MB / 1.097 GB, free: 10.1 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches