Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.316/2.316, allocations: 390.3 MB / 402.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 182.3 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.3 MB / 0.7915 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009002/0.0009002, allocations: 95.73 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.045e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2567, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8875/1.144, allocations: 151 MB / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.144, allocations: 78.14 kB / 1.366 GB, free: 3.023 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005459/1.15, allocations: 1.82 MB / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.817e-06/1.15, allocations: 0 / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.205e-06/1.15, allocations: 0 / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000314/1.15, allocations: 330.5 kB / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.15, allocations: 12.03 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/1.151, allocations: 23.97 kB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/1.151, allocations: 170.3 kB / 1.369 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/1.151, allocations: 4 kB / 1.369 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/1.151, allocations: 7.875 kB / 1.369 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/1.151, allocations: 44.86 kB / 1.369 GB, free: 0.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/1.151, allocations: 0 / 1.369 GB, free: 0.75 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/1.151, allocations: 3.984 kB / 1.369 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.151, allocations: 0 / 1.369 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.13e-05/1.151, allocations: 10.75 kB / 1.369 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/1.151, allocations: 161.1 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.833e-05/1.151, allocations: 33.41 kB / 1.369 GB, free: 0.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/1.151, allocations: 20.42 kB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/1.152, allocations: 0 / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/1.152, allocations: 30.56 kB / 1.369 GB, free: 452 kB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/1.152, allocations: 0 / 1.369 GB, free: 452 kB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001704/1.152, allocations: 57.58 kB / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/1.152, allocations: 52.17 kB / 1.369 GB, free: 328 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.824e-05/1.152, allocations: 92.5 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/1.152, allocations: 25.7 kB / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/1.152, allocations: 80.14 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/1.152, allocations: 7.938 kB / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-06/1.152, allocations: 0 / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.152, allocations: 322.6 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/1.152, allocations: 10.11 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/1.152, allocations: 11.75 kB / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/1.152, allocations: 4 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.152, allocations: 0 / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.941e-05/1.152, allocations: 60.45 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.152, allocations: 4 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.152, allocations: 0 / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/1.152, allocations: 0 / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/1.152, allocations: 7.984 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.152, allocations: 8.094 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/1.153, allocations: 0 / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/1.153, allocations: 0 / 1.37 GB, free: 15.69 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/1.153, allocations: 112.9 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/1.153, allocations: 0 / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/1.153, allocations: 7 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.153, allocations: 0 / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.153, allocations: 4 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/1.153, allocations: 4.188 kB / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/1.153, allocations: 164.6 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.153, allocations: 3.938 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/1.153, allocations: 11.97 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.153, allocations: 0 / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/1.153, allocations: 0 / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.153, allocations: 0 / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.153, allocations: 0 / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/1.153, allocations: 84.19 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/1.153, allocations: 81.09 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/1.153, allocations: 4 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/1.153, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/1.153, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/1.153, allocations: 7.984 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.725e-05/1.153, allocations: 78.53 kB / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.153, allocations: 32 / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001996/1.154, allocations: 20 kB / 1.37 GB, free: 15.04 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001941/1.154, allocations: 127.1 kB / 1.37 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.92e-05/1.154, allocations: 18.92 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.154, allocations: 0 / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/1.154, allocations: 6.938 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/1.154, allocations: 11.95 kB / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/1.154, allocations: 61.09 kB / 1.37 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/1.155, allocations: 0.6809 MB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.848e-05/1.155, allocations: 7.938 kB / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/1.155, allocations: 15.38 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of SimCode: time 3.116e-06/1.155, allocations: 0 / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.0029/1.158, allocations: 0.7074 MB / 1.372 GB, free: 13.38 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches