Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DewPointTemperatureDerivativeCheck_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01043/0.01043, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001976/0.001976, allocations: 192 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9535/0.9547, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002313/0.9571, allocations: 1.248 MB / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.9581, allocations: 0.6292 MB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.9581, allocations: 0 / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.9582, allocations: 0 / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.9582, allocations: 3.984 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.9587, allocations: 127.4 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.9587, allocations: 19.92 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.9588, allocations: 4 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.269e-05/0.9588, allocations: 3.984 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.9589, allocations: 11.98 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.9589, allocations: 0 / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.9593, allocations: 215.6 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.9593, allocations: 7.922 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.9593, allocations: 8 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.9596, allocations: 140.2 kB / 1.169 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9596, allocations: 0 / 1.169 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9596, allocations: 0 / 1.169 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.9596, allocations: 0 / 1.169 GB, free: 1.426 MB / 0.8887 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.000443/0.9601, allocations: 355.2 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.9601, allocations: 12.88 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.9603, allocations: 8.922 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.9604, allocations: 164.4 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.9604, allocations: 4.375 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.9604, allocations: 8.375 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.9606, allocations: 42.25 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.9606, allocations: 192 / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.9606, allocations: 11.86 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9606, allocations: 4 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.237e-05/0.9607, allocations: 8 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.9608, allocations: 157.6 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.961, allocations: 42.61 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.9611, allocations: 16.86 kB / 1.17 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.9611, allocations: 0 / 1.17 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.9611, allocations: 42.58 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.9612, allocations: 0 / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0007157/0.9619, allocations: 302.3 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.962, allocations: 55.39 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.826e-05/0.962, allocations: 93.86 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.962, allocations: 25.7 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.9621, allocations: 80.14 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.9621, allocations: 23.8 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.9621, allocations: 25.7 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.9623, allocations: 310.8 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.9623, allocations: 8 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.9623, allocations: 19.97 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.288e-05/0.9624, allocations: 32.8 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.9624, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001109/0.9625, allocations: 65.62 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.9625, allocations: 15.94 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.9626, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.9626, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.9626, allocations: 11.98 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.9627, allocations: 240 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.715e-05/0.9627, allocations: 4 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.9627, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.154e-05/0.9628, allocations: 113.8 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.9628, allocations: 7.891 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.963, allocations: 81.89 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.963, allocations: 4 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.963, allocations: 0 / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.963, allocations: 3.938 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.9631, allocations: 153.7 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9631, allocations: 0 / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.9632, allocations: 12 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.9632, allocations: 4.062 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.9632, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.9632, allocations: 3.984 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9633, allocations: 3.984 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.9634, allocations: 101.1 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.9635, allocations: 81.14 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.9635, allocations: 7.938 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.9636, allocations: 7.984 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.9636, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.9636, allocations: 4 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.863e-05/0.9636, allocations: 79.34 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9636, allocations: 0 / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001824/0.9638, allocations: 8 kB / 1.171 GB, free: 14.46 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001395/0.964, allocations: 103.2 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.9641, allocations: 39.91 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9641, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.221e-05/0.9641, allocations: 19.98 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.9644, allocations: 3.938 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.9647, allocations: 125.9 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.965, allocations: 0.6807 MB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.736e-05/0.965, allocations: 0 / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.965, allocations: 11.44 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.965, allocations: 0 / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of Templates: time 0.002606/0.9677, allocations: 0.493 MB / 1.173 GB, free: 12.99 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches