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/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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001254, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001839/0.001839, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.525/1.525, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.57/2.57, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.89 kB / 0.8121 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8604/0.8619, allocations: 140.3 MB / 0.9491 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.002611/0.8646, allocations: 1.307 MB / 0.9504 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.8655, allocations: 0.6158 MB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.8656, allocations: 0 / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.8656, allocations: 0 / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.661e-05/0.8657, allocations: 5.031 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.8662, allocations: 117.3 kB / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.567e-05/0.8663, allocations: 11.38 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.8663, allocations: 1.125 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.347e-05/0.8663, allocations: 17.11 kB / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.103e-05/0.8664, allocations: 3.156 kB / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.314e-06/0.8664, allocations: 0 / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.8667, allocations: 221.3 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.8667, allocations: 1.219 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.8668, allocations: 7.656 kB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.867, allocations: 134.9 kB / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.867, allocations: 1.5 kB / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.867, allocations: 0 / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.867, allocations: 0 / 0.9515 GB, free: 7.266 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.0003306/0.8674, allocations: 350.3 kB / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8674, allocations: 9.625 kB / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.8676, allocations: 14.28 kB / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.147e-05/0.8677, allocations: 164.4 kB / 0.952 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.8677, allocations: 1.75 kB / 0.952 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.8677, allocations: 5.688 kB / 0.952 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.8678, allocations: 41.12 kB / 0.952 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8678, allocations: 8.125 kB / 0.9521 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.8678, allocations: 3.938 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.8679, allocations: 5.359 kB / 0.9521 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.8679, allocations: 9.5 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.868, allocations: 153.8 kB / 0.9522 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.8682, allocations: 51.05 kB / 0.9523 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.8683, allocations: 19.81 kB / 0.9523 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.8683, allocations: 5.375 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.8683, allocations: 31.94 kB / 0.9523 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.8683, allocations: 0 / 0.9523 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006275/0.8689, allocations: 302.6 kB / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.869, allocations: 52.47 kB / 0.9527 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.999e-05/0.869, allocations: 95.11 kB / 0.9527 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/0.869, allocations: 29.7 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.201e-05/0.869, allocations: 80.14 kB / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.8691, allocations: 22.67 kB / 0.9529 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.8691, allocations: 22.58 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.8692, allocations: 312.1 kB / 0.9532 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.8692, allocations: 14.36 kB / 0.9532 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.956e-05/0.8692, allocations: 6.375 kB / 0.9532 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.956e-05/0.8693, allocations: 38.62 kB / 0.9533 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.8693, allocations: 5.375 kB / 0.9533 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.714e-05/0.8694, allocations: 58.33 kB / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.8694, allocations: 13.36 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8694, allocations: 0 / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.8694, allocations: 1.062 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.8695, allocations: 9.219 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8695, allocations: 240 / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.72e-05/0.8695, allocations: 5.562 kB / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.8696, allocations: 1.562 kB / 0.9533 GB, free: 5.293 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.8696, allocations: 115.4 kB / 0.9535 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.8696, allocations: 9.594 kB / 0.9535 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.8698, allocations: 77.56 kB / 0.9535 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.8698, allocations: 0.9688 kB / 0.9535 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8698, allocations: 0 / 0.9535 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8698, allocations: 1.031 kB / 0.9535 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.21e-05/0.8699, allocations: 161.1 kB / 0.9537 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8699, allocations: 0 / 0.9537 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.8699, allocations: 13.89 kB / 0.9537 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.87, allocations: 5.375 kB / 0.9537 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.87, allocations: 11.94 kB / 0.9537 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.87, allocations: 0 / 0.9537 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.87, allocations: 5.156 kB / 0.9537 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.8701, allocations: 100.5 kB / 0.9538 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.8701, allocations: 82.36 kB / 0.9539 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.8702, allocations: 5.188 kB / 0.9539 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.8702, allocations: 1.25 kB / 0.9539 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.8702, allocations: 6.969 kB / 0.9539 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.8703, allocations: 9.5 kB / 0.9539 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.186e-05/0.8703, allocations: 75.28 kB / 0.954 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8703, allocations: 0 / 0.954 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001843/0.8705, allocations: 6.625 kB / 0.954 GB, free: 4.602 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 (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 Backend phase and start with SimCode phase: time 0.0001042/0.8706, allocations: 108 kB / 0.9541 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.8707, allocations: 41.41 kB / 0.9541 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8707, allocations: 0 / 0.9541 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.8707, allocations: 25 kB / 0.9542 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.8709, allocations: 10.61 kB / 0.9542 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.8712, allocations: 140 kB / 0.9543 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.8713, allocations: 0.6831 MB / 0.955 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.379e-05/0.8713, allocations: 10.61 kB / 0.955 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.8714, allocations: 10.19 kB / 0.955 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8714, allocations: 0 / 0.955 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of Templates: time 0.002445/0.8738, allocations: 437 kB / 0.9554 GB, free: 3.434 MB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches