Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",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.004403/0.004403, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001185/0.001185, allocations: 198.1 kB / 16.68 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.604/2.604, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 67.89 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2749, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.00216/0.2771, allocations: 1.261 MB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005769/0.2777, allocations: 304.9 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.458e-05/0.2777, allocations: 4 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.2777, allocations: 0 / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.2778, allocations: 3.984 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.2781, allocations: 63.69 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.385e-05/0.2781, allocations: 15.94 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.2782, allocations: 4 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.775e-05/0.2782, allocations: 7.984 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.2783, allocations: 4 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.2783, allocations: 4 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.2784, allocations: 67.91 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.2784, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.2785, allocations: 15.92 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.2786, allocations: 47.88 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2786, allocations: 0 / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2786, allocations: 0 / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2786, allocations: 0 / 1.222 GB, free: 12.53 MB / 0.9825 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.0003745/0.279, allocations: 331.4 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.279, allocations: 12.03 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.2791, allocations: 30.75 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.2792, allocations: 8.922 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.2793, allocations: 164.3 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.2793, allocations: 8.375 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.2793, allocations: 4.375 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.2795, allocations: 46.23 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2795, allocations: 3.938 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.2795, allocations: 0 / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2795, allocations: 0 / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.158e-05/0.2795, allocations: 12 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.2797, allocations: 157.6 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.2799, allocations: 62.47 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.2799, allocations: 16.86 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2799, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.28, allocations: 34.56 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.28, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.001268/0.2813, allocations: 402.3 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2813, allocations: 51.41 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.115e-05/0.2814, allocations: 89.86 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2814, allocations: 25.7 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.2814, allocations: 84.14 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.2815, allocations: 23.78 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.2815, allocations: 21.72 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2816, allocations: 322.8 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-05/0.2817, allocations: 16 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.2817, allocations: 23.91 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.898e-05/0.2818, allocations: 40.86 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2818, allocations: 0 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001306/0.282, allocations: 81.62 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.282, allocations: 7.938 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.282, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.282, allocations: 4.328 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.2821, allocations: 12.06 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2821, allocations: 11.88 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.2822, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2822, allocations: 7.984 kB / 1.224 GB, free: 10.17 MB / 0.9825 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.934e-05/0.2823, allocations: 105.8 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.2823, allocations: 7.938 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.2825, allocations: 101.6 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2825, allocations: 0 / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2825, allocations: 0 / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2825, allocations: 4 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2827, allocations: 157.7 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2827, allocations: 4 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/0.2828, allocations: 15.92 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2828, allocations: 3.938 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.2828, allocations: 8 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2828, allocations: 0 / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2828, allocations: 0 / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.283, allocations: 121.1 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.2831, allocations: 85 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.2831, allocations: 4 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.2832, allocations: 7.984 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.2832, allocations: 12 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2832, allocations: 0 / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.2833, allocations: 75.28 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2833, allocations: 0 / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001833/0.2834, allocations: 12 kB / 1.225 GB, free: 9.352 MB / 0.9825 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.0004749/0.2839, allocations: 0.6603 MB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.2841, allocations: 59.88 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2841, allocations: 0 / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.2841, allocations: 20 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.2843, allocations: 11.92 kB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2854, allocations: 1.192 MB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.2858, allocations: 0.6807 MB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.432e-05/0.2858, allocations: 8.234 kB / 1.227 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.2859, allocations: 15.38 kB / 1.227 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2859, allocations: 4 kB / 1.227 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.888/2.174, allocations: 1.666 MB / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/13.55, allocations: 11.09 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-09 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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