Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_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.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_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.01077/0.01077, allocations: 100.3 kB / 15.73 MB, free: 6.035 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.00232/0.00232, allocations: 190.3 kB / 16.67 MB, free: 5.969 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.96/2.96, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 64.14 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3228, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.003215/0.3261, allocations: 1.24 MB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3275, allocations: 0.6151 MB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.3275, allocations: 0 / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.875e-05/0.3276, allocations: 3.938 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.3277, allocations: 4 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/0.3283, allocations: 135.4 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.935e-05/0.3284, allocations: 11.98 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/0.3284, allocations: 8 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.3285, allocations: 11.98 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.33e-05/0.3286, allocations: 3.984 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3286, allocations: 7.938 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.329, allocations: 215.6 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.329, allocations: 7.922 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.3291, allocations: 4 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.3294, allocations: 139.9 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3294, allocations: 4 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3294, allocations: 0 / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3294, allocations: 0 / 1.21 GB, free: 7.746 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.0005815/0.33, allocations: 347.5 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.33, allocations: 8.625 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.3301, allocations: 38.73 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.3303, allocations: 4.938 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3304, allocations: 160.4 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3304, allocations: 8.359 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.3305, allocations: 384 / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.3306, allocations: 42.75 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3306, allocations: 3.938 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3306, allocations: 4 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.3306, allocations: 0 / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.3307, allocations: 11.94 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.3309, allocations: 161.5 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3311, allocations: 46.61 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.009e-05/0.3312, allocations: 16.86 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.3312, allocations: 4.078 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3313, allocations: 30.56 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.3313, allocations: 0 / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0009738/0.3323, allocations: 322.2 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.3323, allocations: 51.41 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.601e-05/0.3324, allocations: 89.86 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.3324, allocations: 25.7 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.3325, allocations: 80.14 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.3325, allocations: 23.66 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.3326, allocations: 21.7 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3328, allocations: 314.8 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.471e-05/0.3328, allocations: 16 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.3328, allocations: 11.98 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.3329, allocations: 33 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3329, allocations: 0 / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001319/0.3331, allocations: 77.52 kB / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3331, allocations: 7.938 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3331, allocations: 0 / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.3331, allocations: 0 / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.881e-05/0.3332, allocations: 15.98 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3332, allocations: 0 / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.3333, allocations: 7.938 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3333, allocations: 0 / 1.212 GB, free: 5.52 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 0.0001192/0.3334, allocations: 113.8 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.3334, allocations: 3.938 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.3337, allocations: 73.58 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3337, allocations: 0 / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3337, allocations: 0 / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3337, allocations: 0 / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.3339, allocations: 161.7 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3339, allocations: 4 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.311e-05/0.334, allocations: 8 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.334, allocations: 3.938 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.334, allocations: 3.984 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.334, allocations: 4 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.334, allocations: 0 / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.3342, allocations: 101.2 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.3342, allocations: 81.05 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3343, allocations: 4.062 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.3344, allocations: 12.02 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.3344, allocations: 4 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.3344, allocations: 0 / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.3344, allocations: 75.28 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3344, allocations: 0 / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002223/0.3347, allocations: 8 kB / 1.212 GB, free: 4.766 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 (6): * Single equations (assignments): 6 * 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.0005244/0.3352, allocations: 0.6436 MB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.3353, allocations: 43.84 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3353, allocations: 0 / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.767e-05/0.3354, allocations: 16 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.3356, allocations: 4 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.337, allocations: 1.15 MB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.3374, allocations: 0.6807 MB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.306e-05/0.3375, allocations: 12.22 kB / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.3375, allocations: 15.44 kB / 1.215 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/0.3375, allocations: 3.938 kB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.3647, allocations: 1.394 MB / 1.216 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.115, allocations: 10.75 kB / 1.216 GB, free: 0.8633 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_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:T,der(T),der(y),der(y_comp),err,time,y,y_comp