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.007173/0.007173, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.001467/0.001467, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.416/1.416, 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.29/2.29, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.91 kB / 0.9508 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202/1.204, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002785/1.206, allocations: 1.282 MB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2377/1.444, allocations: 147.6 MB / 1.233 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/1.444, allocations: 4 kB / 1.233 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/1.444, allocations: 1.125 kB / 1.233 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/1.445, allocations: 9.109 kB / 1.233 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009391/1.445, allocations: 112.9 kB / 1.233 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/1.446, allocations: 24.39 kB / 1.233 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.824e-05/1.446, allocations: 2.312 kB / 1.233 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/1.446, allocations: 12.55 kB / 1.234 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/1.446, allocations: 7.25 kB / 1.234 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/1.446, allocations: 4 kB / 1.234 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007649/1.447, allocations: 174.7 kB / 1.234 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/1.447, allocations: 5.875 kB / 1.234 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/1.447, allocations: 7.562 kB / 1.234 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004538/1.447, allocations: 101.3 kB / 1.234 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/1.447, allocations: 3.984 kB / 1.234 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.916e-06/1.447, allocations: 0 / 1.234 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.805e-06/1.447, allocations: 0 / 1.234 GB, free: 5.453 MB / 0.9669 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.0006596/1.448, allocations: 353 kB / 1.234 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/1.448, allocations: 12.91 kB / 1.234 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000779/1.449, allocations: 37.67 kB / 1.234 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/1.449, allocations: 165.5 kB / 1.234 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/1.449, allocations: 4.906 kB / 1.234 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/1.449, allocations: 5.062 kB / 1.234 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/1.449, allocations: 53.16 kB / 1.234 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.449, allocations: 0 / 1.234 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/1.449, allocations: 1.562 kB / 1.234 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.449, allocations: 0 / 1.234 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/1.45, allocations: 22.78 kB / 1.234 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/1.45, allocations: 246.4 kB / 1.235 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.632e-05/1.45, allocations: 32.58 kB / 1.235 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/1.45, allocations: 9.047 kB / 1.235 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/1.45, allocations: 0 / 1.235 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/1.45, allocations: 35.95 kB / 1.235 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/1.45, allocations: 0 / 1.235 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001953/1.45, allocations: 38.48 kB / 1.235 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/1.451, allocations: 56.75 kB / 1.235 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/1.451, allocations: 115.4 kB / 1.235 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/1.451, allocations: 27.02 kB / 1.235 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/1.451, allocations: 91.97 kB / 1.235 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/1.451, allocations: 9.312 kB / 1.235 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/1.451, allocations: 17.58 kB / 1.235 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.451, allocations: 320.2 kB / 1.235 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.403e-05/1.451, allocations: 14.52 kB / 1.235 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/1.451, allocations: 8.859 kB / 1.235 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.697e-05/1.451, allocations: 23.62 kB / 1.235 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.451, allocations: 0 / 1.235 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002224/1.452, allocations: 60.27 kB / 1.235 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/1.452, allocations: 4.562 kB / 1.235 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.452, allocations: 7.938 kB / 1.235 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.452, allocations: 5.031 kB / 1.236 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/1.452, allocations: 9.391 kB / 1.236 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.452, allocations: 1.062 kB / 1.236 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/1.452, allocations: 13.73 kB / 1.236 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/1.452, allocations: 5.109 kB / 1.236 GB, free: 3.633 MB / 0.9669 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 9.954e-05/1.452, allocations: 107 kB / 1.236 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/1.452, allocations: 5.094 kB / 1.236 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/1.452, allocations: 8.312 kB / 1.236 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/1.452, allocations: 0 / 1.236 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.452, allocations: 1.156 kB / 1.236 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.452, allocations: 3.938 kB / 1.236 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/1.452, allocations: 153.2 kB / 1.236 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.452, allocations: 3.984 kB / 1.236 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/1.452, allocations: 3.469 kB / 1.236 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/1.452, allocations: 0 / 1.236 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/1.452, allocations: 5.062 kB / 1.236 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.452, allocations: 4 kB / 1.236 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.452, allocations: 0 / 1.236 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/1.453, allocations: 141.3 kB / 1.236 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/1.453, allocations: 82.41 kB / 1.236 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/1.453, allocations: 1.156 kB / 1.236 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.185e-05/1.453, allocations: 1.156 kB / 1.236 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/1.453, allocations: 1.125 kB / 1.236 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/1.453, allocations: 9.062 kB / 1.236 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.974e-05/1.453, allocations: 91.39 kB / 1.236 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.01e-07/1.453, allocations: 0 / 1.236 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002833/1.453, allocations: 16.03 kB / 1.236 GB, free: 2.961 MB / 0.9669 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.0002908/1.454, allocations: 108.5 kB / 1.236 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002109/1.454, allocations: 28.25 kB / 1.236 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.454, allocations: 0 / 1.236 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/1.454, allocations: 7.281 kB / 1.236 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/1.454, allocations: 8.469 kB / 1.236 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/1.455, allocations: 125.3 kB / 1.236 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/1.455, allocations: 0.6771 MB / 1.237 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.341e-05/1.455, allocations: 10.66 kB / 1.237 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/1.455, allocations: 13.5 kB / 1.237 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of SimCode: time 1.042e-06/1.455, allocations: 0 / 1.237 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of Templates: time 0.003964/1.459, allocations: 0.7379 MB / 1.238 GB, free: 1.617 MB / 0.9669 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