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.00535/0.005351, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001136/0.001136, allocations: 196.8 kB / 16.67 MB, free: 5.926 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.273/2.273, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8681/0.8696, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.002414/0.872, allocations: 1.256 MB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009427/0.873, allocations: 0.6133 MB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.873, allocations: 0 / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.8731, allocations: 0 / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.481e-05/0.8731, allocations: 0 / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.8736, allocations: 128.8 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.368e-05/0.8736, allocations: 17.72 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.8737, allocations: 2.688 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.513e-05/0.8737, allocations: 8.922 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.8738, allocations: 12.2 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.936e-06/0.8738, allocations: 5.031 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.8742, allocations: 221.1 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.8742, allocations: 5.734 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.8742, allocations: 6.859 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.8745, allocations: 127.9 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.8746, allocations: 0.6094 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8746, allocations: 1.094 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.8746, allocations: 0 / 1.09 GB, free: 3.781 MB / 0.8575 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.0003942/0.875, allocations: 351.7 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.875, allocations: 10.62 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.8751, allocations: 35.84 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.8752, allocations: 8.938 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.08e-05/0.8753, allocations: 166.5 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.8753, allocations: 1.562 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.8754, allocations: 2.312 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.8755, allocations: 40.88 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.8755, allocations: 11.88 kB / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.8755, allocations: 0 / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.8755, allocations: 0.9062 kB / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/0.8756, allocations: 12.59 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.8757, allocations: 153.3 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.8759, allocations: 43.61 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.876, allocations: 17.64 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.876, allocations: 4.719 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.876, allocations: 35.94 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.876, allocations: 0.6562 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0006207/0.8767, allocations: 307.4 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.8767, allocations: 52.84 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.7e-05/0.8767, allocations: 90.95 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.8767, allocations: 33.7 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.077e-05/0.8768, allocations: 81.94 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.8768, allocations: 14.86 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.8768, allocations: 20.27 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.8769, allocations: 317.1 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.8769, allocations: 8.062 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.16e-05/0.8769, allocations: 15.22 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.877, allocations: 33.48 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.877, allocations: 4 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.961e-05/0.8771, allocations: 62.56 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.8771, allocations: 10.38 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.8771, allocations: 80 / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.8772, allocations: 1.781 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.8772, allocations: 14.84 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.8772, allocations: 3.984 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.8773, allocations: 5.484 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.8773, allocations: 1.438 kB / 1.092 GB, free: 1.828 MB / 0.8575 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 4.958e-05/0.8773, allocations: 117.2 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.8774, allocations: 4.906 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.8775, allocations: 72.73 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.8775, allocations: 5.156 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.8775, allocations: 0.9375 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.8775, allocations: 0.7031 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.113e-05/0.8776, allocations: 168.8 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8776, allocations: 0 / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.529e-05/0.8777, allocations: 16.92 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8777, allocations: 4.781 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.8777, allocations: 5 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.8777, allocations: 0 / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.8777, allocations: 1.672 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.8779, allocations: 103 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.8779, allocations: 82.88 kB / 1.092 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.8779, allocations: 2.078 kB / 1.092 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.404e-05/0.878, allocations: 1.734 kB / 1.092 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.878, allocations: 2.5 kB / 1.092 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.878, allocations: 7.141 kB / 1.092 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.3e-05/0.878, allocations: 75.28 kB / 1.092 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.878, allocations: 0 / 1.092 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001811/0.8782, allocations: 9.656 kB / 1.092 GB, free: 1.168 MB / 0.8575 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.0003579/0.8786, allocations: 0.6508 MB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.8787, allocations: 41.23 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.8787, allocations: 0 / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.8788, allocations: 18.09 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.8789, allocations: 14.86 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.8799, allocations: 1.163 MB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.8802, allocations: 0.6785 MB / 1.095 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.061e-05/0.8802, allocations: 8.5 kB / 1.095 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.8803, allocations: 10.09 kB / 1.095 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.8803, allocations: 0.75 kB / 1.095 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.898, allocations: 1.366 MB / 1.096 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/8.224, allocations: 17.81 kB / 1.096 GB, free: 14.35 MB / 0.8731 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