Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_9_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.007263/0.007263, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001678/0.001678, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 63.89 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8316, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002259/0.8339, allocations: 1.254 MB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005912/0.8345, allocations: 318.1 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.8345, allocations: 0 / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.8346, allocations: 0.7031 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.8346, allocations: 3.938 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.835, allocations: 58.73 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.835, allocations: 9.531 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.8351, allocations: 5.859 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.8351, allocations: 12.92 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.502e-05/0.8352, allocations: 9.953 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.8352, allocations: 0 / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.8354, allocations: 66.38 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.8354, allocations: 9.203 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.8354, allocations: 4.406 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.8356, allocations: 46.27 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8356, allocations: 0.875 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8356, allocations: 0 / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.8356, allocations: 0 / 1.089 GB, free: 4.098 MB / 0.8575 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.0003517/0.8359, allocations: 338.3 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.836, allocations: 8.75 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.899e-05/0.836, allocations: 36.25 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.8362, allocations: 12.11 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.143e-05/0.8362, allocations: 161.6 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.8362, allocations: 1.531 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.8363, allocations: 3.047 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.8364, allocations: 43 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.8364, allocations: 7.938 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.8364, allocations: 1.156 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8364, allocations: 0 / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.8365, allocations: 14.48 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.8366, allocations: 157.8 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.8368, allocations: 46.42 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.8368, allocations: 27 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.8369, allocations: 5.609 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.8369, allocations: 32.23 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.8369, allocations: 0 / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.001255/0.8381, allocations: 400.2 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.8382, allocations: 56.75 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.644e-05/0.8382, allocations: 94.59 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.8382, allocations: 29.7 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.384e-05/0.8382, allocations: 81.08 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.8383, allocations: 19.52 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.8383, allocations: 21.44 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.21e-05/0.8384, allocations: 320.1 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.8384, allocations: 14.5 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/0.8384, allocations: 27.92 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.246e-05/0.8385, allocations: 46.53 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.8385, allocations: 1.125 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001161/0.8387, allocations: 73.97 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.8387, allocations: 9.938 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.8387, allocations: 0.7188 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.8387, allocations: 5.094 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.8388, allocations: 15.67 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.8389, allocations: 1 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.8389, allocations: 0.6875 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.8389, allocations: 6.094 kB / 1.091 GB, free: 2.102 MB / 0.8575 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 5.012e-05/0.839, allocations: 112.7 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.839, allocations: 5.719 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.8392, allocations: 95.52 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.8392, allocations: 1.719 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8392, allocations: 0 / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8392, allocations: 1.625 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.557e-05/0.8393, allocations: 166.4 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8393, allocations: 5.094 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-05/0.8394, allocations: 11.97 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.8394, allocations: 5 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.8394, allocations: 4.562 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.8395, allocations: 1.062 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.8395, allocations: 0.5156 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.8396, allocations: 119 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.8397, allocations: 83.11 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.8397, allocations: 1.766 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.8398, allocations: 8.641 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.8398, allocations: 3.391 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.8398, allocations: 6.688 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.08e-05/0.8398, allocations: 87.28 kB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.8398, allocations: 1.062 kB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001808/0.84, allocations: 6.969 kB / 1.092 GB, free: 1.422 MB / 0.8575 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.0003569/0.8404, allocations: 0.6647 MB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.8405, allocations: 47.52 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8405, allocations: 4.906 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.8406, allocations: 25.55 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.8408, allocations: 8.219 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009722/0.8417, allocations: 1.183 MB / 1.094 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.842, allocations: 0.6812 MB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.407e-05/0.842, allocations: 8.297 kB / 1.095 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.8421, allocations: 16.06 kB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8421, allocations: 0 / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.8605, allocations: 1.675 MB / 1.096 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.21/8.07, allocations: 3.594 kB / 1.096 GB, free: 14.58 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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