Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009573/0.009573, allocations: 100.6 kB / 15.73 MB, free: 6.023 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.001827/0.001827, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.807/2.807, allocations: 461.9 MB / 0.7348 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 1.054 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4083, allocations: 157.4 MB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.002702/0.4111, allocations: 1.243 MB / 1.209 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.4123, allocations: 0.619 MB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.4123, allocations: 0 / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.4124, allocations: 0 / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.724e-05/0.4124, allocations: 0 / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.4131, allocations: 139.3 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.4131, allocations: 12 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.4132, allocations: 0 / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.647e-05/0.4132, allocations: 11.98 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.4133, allocations: 7.938 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.238e-06/0.4133, allocations: 0 / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003912/0.4137, allocations: 223.6 kB / 1.209 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.4138, allocations: 4 kB / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.4138, allocations: 7.984 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.4141, allocations: 128 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4141, allocations: 0 / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4141, allocations: 0 / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4141, allocations: 0 / 1.21 GB, free: 7.676 MB / 0.9669 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.000469/0.4146, allocations: 355.5 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4146, allocations: 8.625 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.4147, allocations: 34.75 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.4148, allocations: 8.922 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.4149, allocations: 168.4 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.415, allocations: 384 / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.415, allocations: 8.312 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.4151, allocations: 42.25 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4151, allocations: 3.938 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4152, allocations: 4 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.4152, allocations: 0 / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.4152, allocations: 7.984 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.4154, allocations: 161.5 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.4156, allocations: 46.53 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.4157, allocations: 24.8 kB / 1.21 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.4157, allocations: 0 / 1.21 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.4157, allocations: 34.56 kB / 1.21 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.4157, allocations: 3.938 kB / 1.21 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0007074/0.4164, allocations: 302.4 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.4165, allocations: 51.41 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.651e-05/0.4166, allocations: 93.86 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.4166, allocations: 25.7 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.4166, allocations: 88.12 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.4167, allocations: 23.64 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.4167, allocations: 17.72 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4168, allocations: 318.8 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/0.4169, allocations: 8 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.4169, allocations: 12.5 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.488e-05/0.417, allocations: 36.78 kB / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.417, allocations: 0 / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001013/0.4171, allocations: 69.92 kB / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4171, allocations: 7.938 kB / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4171, allocations: 0 / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4171, allocations: 0 / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.4172, allocations: 12 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4172, allocations: 0 / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.4173, allocations: 0 / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.4173, allocations: 4 kB / 1.212 GB, free: 5.453 MB / 0.9669 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 9.189e-05/0.4174, allocations: 117.8 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.4174, allocations: 11.91 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.4175, allocations: 69.64 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4175, allocations: 4 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4175, allocations: 0 / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4176, allocations: 0 / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.4177, allocations: 165.7 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4177, allocations: 0 / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.4178, allocations: 8 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.4178, allocations: 3.938 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4178, allocations: 11.94 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4178, allocations: 0 / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4178, allocations: 0 / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.418, allocations: 105.1 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.4181, allocations: 84.95 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4181, allocations: 7.938 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.4181, allocations: 4.031 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.4182, allocations: 3.984 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.4182, allocations: 12 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.4182, allocations: 75.28 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4182, allocations: 0 / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002032/0.4184, allocations: 8 kB / 1.212 GB, free: 4.668 MB / 0.9669 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.0004249/0.4189, allocations: 0.6494 MB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.419, allocations: 35.98 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.419, allocations: 0 / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/0.419, allocations: 19.94 kB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.4192, allocations: 8 kB / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.4203, allocations: 1.167 MB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.4206, allocations: 0.6807 MB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.056e-05/0.4206, allocations: 4.25 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.4207, allocations: 11.44 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.4207, allocations: 0 / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.4395, allocations: 1.387 MB / 1.216 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/8.005, allocations: 4.859 kB / 1.216 GB, free: 0.7773 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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