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/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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001451/0.001451, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.652/2.652, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 8 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.022, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001554/1.023, allocations: 0.9948 MB / 0.9545 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009763/1.024, allocations: 0.5733 MB / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/1.024, allocations: 1.406 kB / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/1.024, allocations: 0 / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.404e-05/1.024, allocations: 3.984 kB / 0.9551 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/1.025, allocations: 102 kB / 0.9552 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.333e-05/1.025, allocations: 15.69 kB / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/1.025, allocations: 5.438 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.456e-05/1.025, allocations: 5.562 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/1.025, allocations: 17.31 kB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/1.025, allocations: 1.312 kB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/1.025, allocations: 156.8 kB / 0.9553 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/1.025, allocations: 9.203 kB / 0.9554 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/1.025, allocations: 32.02 kB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/1.026, allocations: 64.23 kB / 0.9555 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/1.026, allocations: 1 kB / 0.9555 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/1.026, allocations: 0 / 0.9555 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/1.026, allocations: 0 / 0.9555 GB, free: 6.648 MB / 0.7169 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.0003833/1.026, allocations: 360.9 kB / 0.9558 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.026, allocations: 8.094 kB / 0.9558 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/1.026, allocations: 28.47 kB / 0.9558 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.868e-05/1.027, allocations: 164.2 kB / 0.956 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/1.027, allocations: 1.156 kB / 0.956 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/1.027, allocations: 6.062 kB / 0.956 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/1.027, allocations: 60.77 kB / 0.9561 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/1.027, allocations: 3.984 kB / 0.9561 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.027, allocations: 5.344 kB / 0.9561 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.027, allocations: 3.953 kB / 0.9561 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/1.027, allocations: 30.12 kB / 0.9561 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/1.027, allocations: 164 kB / 0.9562 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/1.027, allocations: 67.27 kB / 0.9563 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/1.027, allocations: 1.531 kB / 0.9563 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/1.027, allocations: 34.5 kB / 0.9563 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.028, allocations: 1.25 kB / 0.9563 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003245/1.031, allocations: 0.574 MB / 0.9569 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/1.031, allocations: 52.44 kB / 0.957 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.515e-05/1.031, allocations: 91.8 kB / 0.957 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/1.031, allocations: 27.14 kB / 0.9571 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.912e-05/1.031, allocations: 84.14 kB / 0.9572 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/1.031, allocations: 22.58 kB / 0.9572 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/1.031, allocations: 5.438 kB / 0.9572 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.205e-05/1.031, allocations: 314.8 kB / 0.9575 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/1.031, allocations: 34.78 kB / 0.9575 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/1.031, allocations: 41.73 kB / 0.9576 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/1.031, allocations: 42.53 kB / 0.9576 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/1.031, allocations: 1.25 kB / 0.9576 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003209/1.032, allocations: 120.6 kB / 0.9577 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.032, allocations: 4.469 kB / 0.9577 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/1.032, allocations: 1.188 kB / 0.9577 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.032, allocations: 0 / 0.9577 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/1.032, allocations: 30.34 kB / 0.9577 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.032, allocations: 4.922 kB / 0.9577 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/1.032, allocations: 3.969 kB / 0.9578 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/1.032, allocations: 6.016 kB / 0.9578 GB, free: 4.453 MB / 0.7169 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 (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 8.348e-05/1.032, allocations: 111.9 kB / 0.9579 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/1.032, allocations: 6.938 kB / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.656e-05/1.032, allocations: 17.22 kB / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.032, allocations: 11.95 kB / 0.9579 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.033, allocations: 0 / 0.9579 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.033, allocations: 3.953 kB / 0.9579 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/1.033, allocations: 180.4 kB / 0.9581 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.033, allocations: 0 / 0.9581 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/1.033, allocations: 30 kB / 0.9581 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.033, allocations: 5.375 kB / 0.9581 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/1.033, allocations: 5.312 kB / 0.9581 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/1.033, allocations: 0 / 0.9581 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.033, allocations: 1.25 kB / 0.9581 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/1.033, allocations: 188.5 kB / 0.9583 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/1.033, allocations: 86.2 kB / 0.9584 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/1.034, allocations: 1.125 kB / 0.9584 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/1.034, allocations: 11.89 kB / 0.9584 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/1.034, allocations: 1.25 kB / 0.9584 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/1.034, allocations: 11.72 kB / 0.9584 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.627e-05/1.034, allocations: 80.55 kB / 0.9585 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.034, allocations: 3.938 kB / 0.9585 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002966/1.034, allocations: 31.5 kB / 0.9585 GB, free: 3.723 MB / 0.7169 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 () * Number of clocked 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.0002471/1.034, allocations: 128.8 kB / 0.9586 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003391/1.035, allocations: 89.67 kB / 0.9587 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.035, allocations: 0 / 0.9587 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/1.035, allocations: 51.14 kB / 0.9588 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/1.035, allocations: 11.69 kB / 0.9588 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/1.036, allocations: 169.8 kB / 0.9589 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/1.036, allocations: 0.6819 MB / 0.9596 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002159/1.036, allocations: 32.64 kB / 0.9596 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-05/1.036, allocations: 15.86 kB / 0.9597 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of SimCode: time 1.393e-06/1.036, allocations: 0 / 0.9597 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of Templates: time 0.004143/1.04, allocations: 1.435 MB / 0.9611 GB, free: 1.941 MB / 0.7169 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