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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, 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.001258/0.001258, allocations: 193.8 kB / 16.25 MB, free: 6.641 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.237/1.237, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.085/2.085, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5622, allocations: 140.4 MB / 0.9493 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.001904/0.5641, allocations: 1.309 MB / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006717/0.5648, allocations: 0.6082 MB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.381e-05/0.5648, allocations: 0 / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.5648, allocations: 3.938 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.419e-05/0.5649, allocations: 3.938 kB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.5652, allocations: 122.5 kB / 0.9513 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.13e-05/0.5653, allocations: 6.5 kB / 0.9513 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.5653, allocations: 5.391 kB / 0.9513 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.007e-05/0.5653, allocations: 8.375 kB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.5654, allocations: 6.594 kB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.5654, allocations: 1.312 kB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.5657, allocations: 218.3 kB / 0.9515 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.5657, allocations: 7.938 kB / 0.9515 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.5657, allocations: 11 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.5659, allocations: 132.2 kB / 0.9516 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5659, allocations: 0 / 0.9516 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5659, allocations: 5.781 kB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.5659, allocations: 0 / 0.9516 GB, free: 7.293 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.0002855/0.5662, allocations: 350.3 kB / 0.952 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.5663, allocations: 9.938 kB / 0.952 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.272e-05/0.5663, allocations: 32.12 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.5664, allocations: 13.73 kB / 0.952 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.386e-05/0.5665, allocations: 164.3 kB / 0.9522 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.5665, allocations: 9.547 kB / 0.9522 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.5665, allocations: 2.688 kB / 0.9522 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.5666, allocations: 40 kB / 0.9522 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.5666, allocations: 3.938 kB / 0.9522 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.5666, allocations: 5.25 kB / 0.9522 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.5666, allocations: 0 / 0.9522 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.695e-05/0.5667, allocations: 14.36 kB / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.212e-05/0.5668, allocations: 153.2 kB / 0.9524 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.5669, allocations: 50.91 kB / 0.9524 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.567, allocations: 16.11 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.567, allocations: 5.344 kB / 0.9525 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.567, allocations: 31.88 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.567, allocations: 0 / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004844/0.5675, allocations: 300.1 kB / 0.9528 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.5675, allocations: 51.41 kB / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.404e-05/0.5676, allocations: 93.86 kB / 0.9529 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.5676, allocations: 30.97 kB / 0.953 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.769e-06/0.5676, allocations: 84.14 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.5676, allocations: 18.53 kB / 0.953 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.5676, allocations: 18.09 kB / 0.9531 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.5677, allocations: 316 kB / 0.9534 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.5677, allocations: 18.36 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.5677, allocations: 6.562 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.839e-05/0.5678, allocations: 34.91 kB / 0.9534 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5678, allocations: 1.406 kB / 0.9534 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.624e-05/0.5679, allocations: 70.69 kB / 0.9535 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.5679, allocations: 8.156 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.5679, allocations: 1.094 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.5679, allocations: 0 / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.568, allocations: 14.22 kB / 0.9535 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.568, allocations: 240 / 0.9535 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.568, allocations: 5.125 kB / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.568, allocations: 4.844 kB / 0.9535 GB, free: 5.277 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 3.997e-05/0.5681, allocations: 112.2 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.5681, allocations: 9.969 kB / 0.9536 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.5682, allocations: 73.55 kB / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5682, allocations: 0.6562 kB / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5682, allocations: 0 / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5682, allocations: 5.562 kB / 0.9537 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.126e-05/0.5683, allocations: 159.7 kB / 0.9539 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5683, allocations: 1.156 kB / 0.9539 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.5684, allocations: 13.62 kB / 0.9539 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5684, allocations: 9.203 kB / 0.9539 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.5684, allocations: 4 kB / 0.9539 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5684, allocations: 9.312 kB / 0.9539 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.5684, allocations: 0 / 0.9539 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.5685, allocations: 101.5 kB / 0.954 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.5685, allocations: 85.95 kB / 0.9541 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.5685, allocations: 1.031 kB / 0.9541 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.5686, allocations: 1.156 kB / 0.9541 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.5686, allocations: 6.203 kB / 0.9541 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.5686, allocations: 9.312 kB / 0.9541 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.018e-05/0.5686, allocations: 80.28 kB / 0.9542 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5686, allocations: 0 / 0.9542 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001711/0.5688, allocations: 5.562 kB / 0.9542 GB, free: 4.586 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.0002456/0.5691, allocations: 0.6468 MB / 0.9548 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.071e-05/0.5692, allocations: 45.14 kB / 0.9549 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5692, allocations: 0 / 0.9549 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.5692, allocations: 16.5 kB / 0.9549 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.5693, allocations: 2.406 kB / 0.9549 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.57, allocations: 1.178 MB / 0.956 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.31e-05/0.5701, allocations: 0.6835 MB / 0.9567 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.5701, allocations: 6.469 kB / 0.9567 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.5702, allocations: 10.47 kB / 0.9567 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5702, allocations: 3.938 kB / 0.9567 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.5812, allocations: 1.249 MB / 0.9579 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.5814, allocations: 288.6 kB / 0.9582 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.098, allocations: 0 / 0.9582 GB, free: 1.113 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[1]=-1.000000 " Variables in the reference:time,y,y_comp Variables in the result:der(p_w),der(y),der(y_comp),err,p_w,time,y,y_comp