Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.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.InverseDewPointTemperatureDerivativeCheck_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.634/2.634, allocations: 390.3 MB / 405.3 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.001187/0.001187, allocations: 177.2 kB / 498.1 MB, free: 5.613 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.581/1.581, allocations: 223.2 MB / 0.7949 GB, free: 17.95 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.001019/0.001019, allocations: 103.8 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004104, allocations: 10.44 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3281, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.5278, allocations: 149.8 MB / 1.369 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.5281, allocations: 87.94 kB / 1.369 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005337/0.5335, allocations: 1.834 MB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5335, allocations: 0 / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.964e-06/0.5335, allocations: 8 kB / 1.371 GB, free: 10.37 MB / 0.8698 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.0003367/0.5339, allocations: 339.3 kB / 1.371 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.5339, allocations: 12.03 kB / 1.371 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.5341, allocations: 11.92 kB / 1.371 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.5342, allocations: 167 kB / 1.372 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.5342, allocations: 0 / 1.372 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.5342, allocations: 0 / 1.372 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.5344, allocations: 41.69 kB / 1.372 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5344, allocations: 4 kB / 1.372 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.5344, allocations: 0 / 1.372 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.5344, allocations: 0 / 1.372 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.5345, allocations: 15.98 kB / 1.372 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.5347, allocations: 161.6 kB / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.5349, allocations: 46.5 kB / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.5349, allocations: 0 / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.535, allocations: 34.56 kB / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.535, allocations: 0 / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0007162/0.5357, allocations: 306.3 kB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.5357, allocations: 51.41 kB / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.043e-05/0.5358, allocations: 89 kB / 1.372 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.5358, allocations: 25.7 kB / 1.372 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.5359, allocations: 84.14 kB / 1.372 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.5359, allocations: 23.78 kB / 1.372 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.5359, allocations: 0 / 1.372 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5361, allocations: 314.8 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.5361, allocations: 15.94 kB / 1.373 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.5361, allocations: 11.98 kB / 1.373 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.5362, allocations: 12 kB / 1.373 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.5362, allocations: 0 / 1.373 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001097/0.5363, allocations: 61.75 kB / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.5363, allocations: 4 kB / 1.373 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5363, allocations: 8.078 kB / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5364, allocations: 0 / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.5364, allocations: 8 kB / 1.373 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.5365, allocations: 3.984 kB / 1.373 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.5365, allocations: 12 kB / 1.373 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.5365, allocations: 7.984 kB / 1.373 GB, free: 8.281 MB / 0.8698 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 9.79e-05/0.5366, allocations: 113.7 kB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.5366, allocations: 4 kB / 1.373 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.5368, allocations: 77.64 kB / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5368, allocations: 0 / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.5368, allocations: 3.984 kB / 1.373 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5368, allocations: 0 / 1.373 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.5369, allocations: 161.6 kB / 1.373 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.537, allocations: 0 / 1.373 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/0.537, allocations: 8 kB / 1.373 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.5371, allocations: 11.88 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.5371, allocations: 4 kB / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5371, allocations: 0 / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5371, allocations: 0 / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.5373, allocations: 105.1 kB / 1.373 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.5373, allocations: 84.97 kB / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.5373, allocations: 0 / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/0.5374, allocations: 4.031 kB / 1.373 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.5374, allocations: 3.984 kB / 1.373 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.5374, allocations: 8 kB / 1.373 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.5375, allocations: 75.28 kB / 1.374 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5375, allocations: 4.062 kB / 1.374 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001705/0.5377, allocations: 8 kB / 1.374 GB, free: 7.512 MB / 0.8698 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 (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.0001479/0.5378, allocations: 107 kB / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.5379, allocations: 39.97 kB / 1.374 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5379, allocations: 0 / 1.374 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.538, allocations: 23.92 kB / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.594e-05/0.5381, allocations: 3.938 kB / 1.374 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.5384, allocations: 160.8 kB / 1.374 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.5387, allocations: 0.677 MB / 1.374 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.5388, allocations: 4 kB / 1.375 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.5388, allocations: 11.44 kB / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/0.5388, allocations: 0 / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of Templates: time 0.002607/0.5414, allocations: 403.2 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches