Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.661/1.661, allocations: 249.5 MB / 257 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 183 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008801/0.0008803, allocations: 94.03 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.425e-05/2.427e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2776, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9423/1.22, allocations: 132.2 MB / 1.014 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/1.22, allocations: 89.48 kB / 1.014 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00607/1.226, allocations: 2.106 MB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.172e-06/1.226, allocations: 0 / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.226, allocations: 4 kB / 1.016 GB, free: 3.816 MB / 0.6355 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.0003371/1.227, allocations: 332.5 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.227, allocations: 8.031 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/1.227, allocations: 7.984 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/1.227, allocations: 167 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/1.227, allocations: 3.875 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/1.227, allocations: 4 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.466e-05/1.227, allocations: 19.38 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.703e-05/1.227, allocations: 41.48 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.227, allocations: 4 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/1.227, allocations: 0 / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.227, allocations: 0 / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/1.228, allocations: 137.7 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/1.228, allocations: 37.2 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/1.228, allocations: 24.75 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/1.228, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/1.228, allocations: 42.12 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/1.228, allocations: 0 / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.001294/1.229, allocations: 374 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/1.229, allocations: 55.41 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.195e-05/1.229, allocations: 88.94 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/1.229, allocations: 25.7 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/1.229, allocations: 84.14 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/1.229, allocations: 19.28 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/1.229, allocations: 4 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.23, allocations: 310.8 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/1.23, allocations: 19.17 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/1.23, allocations: 19.38 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/1.23, allocations: 15.67 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/1.23, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001225/1.23, allocations: 76.05 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.23, allocations: 8 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.23, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.23, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/1.23, allocations: 23.91 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.23, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/1.23, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/1.23, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 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 9.142e-05/1.23, allocations: 108.5 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/1.23, allocations: 7.891 kB / 1.018 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/1.23, allocations: 98.84 kB / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.23, allocations: 0 / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.23, allocations: 0 / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.231, allocations: 0 / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/1.231, allocations: 140.6 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.231, allocations: 4 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.785e-05/1.231, allocations: 15.92 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.231, allocations: 4 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/1.231, allocations: 3.953 kB / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.231, allocations: 0 / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.231, allocations: 0 / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/1.231, allocations: 120 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/1.231, allocations: 81.16 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.231, allocations: 4.062 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/1.231, allocations: 15.92 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/1.231, allocations: 4 kB / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/1.231, allocations: 2.5 kB / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.914e-05/1.231, allocations: 75.28 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.231, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001862/1.231, allocations: 15.98 kB / 1.019 GB, free: 1.023 MB / 0.6355 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 (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 Backend phase and start with SimCode phase: time 0.0001634/1.232, allocations: 103.2 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001294/1.232, allocations: 45.94 kB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.232, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/1.232, allocations: 31.73 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/1.232, allocations: 0.6562 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/1.232, allocations: 84.52 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/1.233, allocations: 0.6807 MB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.694e-05/1.233, allocations: 12 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/1.233, allocations: 11.44 kB / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.233, allocations: 0 / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of Templates: time 0.002659/1.235, allocations: 0.7119 MB / 1.021 GB, free: 15.37 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches