Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.112/2.112, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001248/0.001248, allocations: 172.9 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009253, allocations: 103.7 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.125e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2885, allocations: 142.3 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8651/1.154, allocations: 149.8 MB / 1.352 GB, free: 18.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/1.154, allocations: 90.34 kB / 1.352 GB, free: 18.28 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008449/1.162, allocations: 2.874 MB / 1.355 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.256e-06/1.162, allocations: 0 / 1.355 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.237e-06/1.162, allocations: 3.938 kB / 1.355 GB, free: 33.82 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002993/1.163, allocations: 347.8 kB / 1.355 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/1.163, allocations: 11.53 kB / 1.355 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/1.163, allocations: 28.61 kB / 1.356 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/1.163, allocations: 165.3 kB / 1.356 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/1.163, allocations: 0 / 1.356 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/1.163, allocations: 7.922 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.315e-05/1.163, allocations: 17.97 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.961e-05/1.163, allocations: 50.48 kB / 1.356 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/1.163, allocations: 0 / 1.356 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.163, allocations: 0.7031 kB / 1.356 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/1.163, allocations: 0 / 1.356 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/1.164, allocations: 152.8 kB / 1.356 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/1.164, allocations: 51.14 kB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/1.164, allocations: 20.59 kB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/1.164, allocations: 0.5156 kB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/1.164, allocations: 39.09 kB / 1.356 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.164, allocations: 0 / 1.356 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.001479/1.165, allocations: 421 kB / 1.356 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/1.165, allocations: 51.41 kB / 1.356 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.618e-05/1.165, allocations: 94.27 kB / 1.357 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/1.165, allocations: 25.7 kB / 1.357 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/1.166, allocations: 84.27 kB / 1.357 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/1.166, allocations: 25.59 kB / 1.357 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/1.166, allocations: 0 / 1.357 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.385e-05/1.166, allocations: 314.7 kB / 1.357 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.374e-05/1.166, allocations: 27.94 kB / 1.357 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.179e-05/1.166, allocations: 25.7 kB / 1.357 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.32e-05/1.166, allocations: 31.17 kB / 1.357 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/1.166, allocations: 0 / 1.357 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000165/1.166, allocations: 99.94 kB / 1.357 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/1.166, allocations: 10.59 kB / 1.357 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.166, allocations: 3.844 kB / 1.357 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/1.166, allocations: 4.594 kB / 1.357 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/1.166, allocations: 23.88 kB / 1.357 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.166, allocations: 4.5 kB / 1.357 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/1.166, allocations: 5.484 kB / 1.357 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/1.166, allocations: 3.047 kB / 1.357 GB, free: 32.07 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 (7): * Single equations (assignments): 7 * 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 7.347e-05/1.167, allocations: 113.4 kB / 1.357 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/1.167, allocations: 3.938 kB / 1.357 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/1.167, allocations: 12.73 kB / 1.357 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.167, allocations: 0.5625 kB / 1.357 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.167, allocations: 0 / 1.357 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/1.167, allocations: 4.562 kB / 1.357 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/1.167, allocations: 171 kB / 1.357 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.167, allocations: 3.953 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/1.167, allocations: 20.83 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/1.167, allocations: 3.844 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/1.167, allocations: 3.047 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/1.167, allocations: 0.6094 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.167, allocations: 1.562 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/1.167, allocations: 168.8 kB / 1.358 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/1.167, allocations: 81.67 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/1.167, allocations: 4.688 kB / 1.358 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/1.168, allocations: 10.72 kB / 1.358 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/1.168, allocations: 5.391 kB / 1.358 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/1.168, allocations: 3.188 kB / 1.358 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.928e-05/1.168, allocations: 86.69 kB / 1.358 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.168, allocations: 0 / 1.358 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002319/1.168, allocations: 32.81 kB / 1.358 GB, free: 31.52 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002237/1.168, allocations: 132.5 kB / 1.358 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001442/1.168, allocations: 68.88 kB / 1.358 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.168, allocations: 0 / 1.358 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/1.168, allocations: 39.62 kB / 1.358 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/1.168, allocations: 5.594 kB / 1.358 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/1.169, allocations: 105.6 kB / 1.358 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/1.169, allocations: 0.6816 MB / 1.359 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000224/1.169, allocations: 30.06 kB / 1.359 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/1.169, allocations: 16.95 kB / 1.359 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.169, allocations: 0 / 1.359 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of Templates: time 0.003284/1.173, allocations: 1.458 MB / 1.36 GB, free: 30.52 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches