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.001306/0.001306, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.56 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2649, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.002259/0.2672, allocations: 1.246 MB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008427/0.2681, allocations: 0.6229 MB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.858e-05/0.2681, allocations: 0 / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.2681, allocations: 3.938 kB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.799e-05/0.2681, allocations: 4 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.2686, allocations: 127.4 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.54e-05/0.2686, allocations: 12 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.2686, allocations: 3.984 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.2687, allocations: 7.984 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.857e-05/0.2687, allocations: 11.94 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.2687, allocations: 3.938 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.2691, allocations: 219.6 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.2691, allocations: 12 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.2691, allocations: 0 / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.2693, allocations: 135.9 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2694, allocations: 0 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2694, allocations: 0 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2694, allocations: 0 / 1.055 GB, free: 5.898 MB / 0.8106 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.0003695/0.2697, allocations: 347.5 kB / 1.056 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2698, allocations: 8.625 kB / 1.056 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.2698, allocations: 38.75 kB / 1.056 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.27, allocations: 12.92 kB / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.089e-05/0.27, allocations: 160.4 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.2701, allocations: 384 / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.2701, allocations: 4.375 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.2702, allocations: 38.25 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2702, allocations: 7.938 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.2702, allocations: 0 / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2702, allocations: 4 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.974e-05/0.2703, allocations: 15.92 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.2704, allocations: 161.7 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.2706, allocations: 38.56 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.2706, allocations: 16.86 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.2706, allocations: 0 / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.2707, allocations: 38.56 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.2707, allocations: 4 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0005499/0.2712, allocations: 306.2 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.2713, allocations: 55.39 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.315e-05/0.2713, allocations: 89.86 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.2713, allocations: 29.7 kB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/0.2714, allocations: 88.14 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.2714, allocations: 15.66 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.2714, allocations: 21.72 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.2715, allocations: 322.8 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.2715, allocations: 8 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.2716, allocations: 11.98 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.335e-05/0.2716, allocations: 28.86 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2716, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.727e-05/0.2717, allocations: 69.61 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2717, allocations: 7.938 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2718, allocations: 0 / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.2718, allocations: 4 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.2718, allocations: 12 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2718, allocations: 4.172 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.2719, allocations: 4.328 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.2719, allocations: 3.984 kB / 1.057 GB, free: 3.68 MB / 0.8106 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 6.083e-05/0.272, allocations: 111.4 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.272, allocations: 3.938 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.2721, allocations: 81.56 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2721, allocations: 8 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2721, allocations: 3.984 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2721, allocations: 0 / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.109e-05/0.2722, allocations: 153.7 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.2722, allocations: 4 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.2723, allocations: 8 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2723, allocations: 3.938 kB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.2723, allocations: 8 kB / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2723, allocations: 0 / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2724, allocations: 64 / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.2725, allocations: 120.9 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.2726, allocations: 81.05 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.2726, allocations: 0 / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/0.2726, allocations: 7.969 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.2726, allocations: 3.984 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.2727, allocations: 4 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.35e-05/0.2727, allocations: 79.28 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2727, allocations: 0 / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001766/0.2729, allocations: 8.062 kB / 1.058 GB, free: 2.902 MB / 0.8106 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.0003534/0.2732, allocations: 0.6515 MB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.784e-05/0.2733, allocations: 35.97 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2733, allocations: 0 / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.2734, allocations: 19.94 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.2735, allocations: 12.05 kB / 1.059 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.2744, allocations: 1.159 MB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.2746, allocations: 0.6768 MB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.969e-05/0.2747, allocations: 4 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.2747, allocations: 11.44 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2747, allocations: 0 / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.2931, allocations: 1.347 MB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/7.51, allocations: 8.234 kB / 1.062 GB, free: 15.04 MB / 0.8262 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