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.009088/0.009088, allocations: 101.7 kB / 15.73 MB, free: 6.469 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.002396/0.002396, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.883/2.883, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 64.12 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3257, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002447/0.3281, allocations: 1.243 MB / 1.209 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.3291, allocations: 0.6151 MB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.3292, allocations: 0 / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.3292, allocations: 0 / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.238e-05/0.3293, allocations: 7.922 kB / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.3298, allocations: 139.4 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.949e-05/0.3299, allocations: 11.98 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.3299, allocations: 8 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.52e-05/0.33, allocations: 8 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/0.3301, allocations: 7.969 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.3301, allocations: 7.875 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.3304, allocations: 215.6 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.3305, allocations: 7.969 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.3305, allocations: 4 kB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.3308, allocations: 140 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3308, allocations: 0 / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3308, allocations: 0 / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3308, allocations: 0 / 1.21 GB, free: 7.684 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.0004245/0.3312, allocations: 347.5 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3313, allocations: 8.625 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.3313, allocations: 38.67 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.3315, allocations: 8.938 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3316, allocations: 168.4 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3316, allocations: 384 / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.3316, allocations: 4.375 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.3318, allocations: 38.75 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3318, allocations: 3.938 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3318, allocations: 4 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3318, allocations: 0 / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.3319, allocations: 8 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.332, allocations: 165.5 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.3322, allocations: 46.61 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.3323, allocations: 20.94 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.3323, allocations: 0 / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.3323, allocations: 30.56 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3323, allocations: 0 / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.000728/0.3331, allocations: 310.3 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.3331, allocations: 55.41 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.946e-05/0.3332, allocations: 89.86 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3332, allocations: 29.64 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.3332, allocations: 80.14 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.3333, allocations: 23.66 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.3333, allocations: 25.64 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3335, allocations: 314.8 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.3335, allocations: 12 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.3335, allocations: 11.98 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.29e-05/0.3336, allocations: 28.86 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3336, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.3337, allocations: 73.58 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3337, allocations: 7.938 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3337, allocations: 0 / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3338, allocations: 0 / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.482e-05/0.3338, allocations: 24.19 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3339, allocations: 4 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.3339, allocations: 0 / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3339, allocations: 0 / 1.212 GB, free: 5.461 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 7.661e-05/0.334, allocations: 113.8 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.334, allocations: 3.938 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.3342, allocations: 73.62 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3342, allocations: 3.938 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3342, allocations: 0 / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3342, allocations: 0 / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.3343, allocations: 165.7 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3343, allocations: 0 / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.3344, allocations: 8 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3344, allocations: 7.922 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3344, allocations: 0 / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3344, allocations: 0 / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3344, allocations: 4 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.3346, allocations: 97.25 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.3347, allocations: 85.11 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.3347, allocations: 0 / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.3348, allocations: 12.02 kB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.3348, allocations: 7.938 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.3348, allocations: 0 / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.3348, allocations: 75.28 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3348, allocations: 0 / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001959/0.335, allocations: 8 kB / 1.212 GB, free: 4.703 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.0004461/0.3355, allocations: 0.6475 MB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.3356, allocations: 35.92 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3357, allocations: 0 / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.3357, allocations: 16 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.336, allocations: 7.984 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3373, allocations: 1.154 MB / 1.214 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.3376, allocations: 0.683 MB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.238e-05/0.3376, allocations: 7.906 kB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.3377, allocations: 15.44 kB / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.3377, allocations: 0 / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.3589, allocations: 1.398 MB / 1.216 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/7.908, allocations: 14.19 kB / 1.216 GB, free: 0.7891 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