Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_amb,fileNamePrefix="Buildings_9_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_9_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.0008568/0.0008567, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005057/0.005057, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.195/1.195, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.078/2.078, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002818, allocations: 16 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.527/0.5273, allocations: 142.4 MB / 0.9552 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.0009043/0.5282, allocations: 0.9742 MB / 0.9561 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007018/0.5289, allocations: 0.6089 MB / 0.9567 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-06/0.529, allocations: 1.062 kB / 0.9567 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.529, allocations: 0 / 0.9567 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.118e-05/0.529, allocations: 0 / 0.9567 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.5293, allocations: 121.5 kB / 0.9569 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.877e-05/0.5294, allocations: 14.91 kB / 0.9569 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.015e-05/0.5294, allocations: 1.219 kB / 0.9569 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.78e-05/0.5294, allocations: 16.64 kB / 0.9569 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.5295, allocations: 2.219 kB / 0.9569 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.173e-06/0.5295, allocations: 1.062 kB / 0.9569 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.5298, allocations: 221.8 kB / 0.9571 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.315e-06/0.5298, allocations: 1.438 kB / 0.9571 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.5298, allocations: 36.66 kB / 0.9571 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.53, allocations: 132.1 kB / 0.9573 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.53, allocations: 0 / 0.9573 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.53, allocations: 0 / 0.9573 GB, free: 6 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.695e-06/0.53, allocations: 0 / 0.9573 GB, free: 6 MB / 0.7169 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.0002328/0.5302, allocations: 353.3 kB / 0.9576 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.5303, allocations: 12.77 kB / 0.9576 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.256e-05/0.5303, allocations: 36.19 kB / 0.9576 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.5304, allocations: 9.281 kB / 0.9577 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.324e-05/0.5305, allocations: 168.3 kB / 0.9578 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.5305, allocations: 2.031 kB / 0.9578 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.5305, allocations: 1.781 kB / 0.9578 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.043e-05/0.5306, allocations: 44.69 kB / 0.9579 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.5306, allocations: 7.938 kB / 0.9579 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.5306, allocations: 3.969 kB / 0.9579 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.5306, allocations: 3.984 kB / 0.9579 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.5307, allocations: 6.875 kB / 0.9579 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.044e-05/0.5307, allocations: 154.2 kB / 0.958 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.5309, allocations: 39.08 kB / 0.9581 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.5309, allocations: 20.56 kB / 0.9581 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.5309, allocations: 12.89 kB / 0.9581 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.531, allocations: 35.66 kB / 0.9581 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.531, allocations: 0 / 0.9581 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004987/0.5315, allocations: 303.7 kB / 0.9584 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.5315, allocations: 51.41 kB / 0.9585 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.322e-05/0.5315, allocations: 89.86 kB / 0.9586 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.5315, allocations: 35.67 kB / 0.9586 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.818e-06/0.5315, allocations: 80.14 kB / 0.9587 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.5316, allocations: 13.81 kB / 0.9587 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.5316, allocations: 19.73 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.059e-05/0.5316, allocations: 312.6 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.5317, allocations: 9.031 kB / 0.959 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.5317, allocations: 14.42 kB / 0.959 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.5317, allocations: 28.67 kB / 0.959 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5317, allocations: 4 kB / 0.9591 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.686e-05/0.5318, allocations: 70.78 kB / 0.9591 GB, free: 4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.5318, allocations: 11.28 kB / 0.9591 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.5319, allocations: 0 / 0.9591 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.5319, allocations: 0 / 0.9591 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.5319, allocations: 13.52 kB / 0.9591 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.5319, allocations: 5 kB / 0.9591 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.532, allocations: 1.219 kB / 0.9591 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.532, allocations: 1.188 kB / 0.9592 GB, free: 3.988 MB / 0.7169 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 4.512e-05/0.532, allocations: 116.2 kB / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.532, allocations: 5.219 kB / 0.9593 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.5322, allocations: 71.73 kB / 0.9593 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.5322, allocations: 0 / 0.9593 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5322, allocations: 1.469 kB / 0.9593 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5322, allocations: 0 / 0.9593 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.787e-05/0.5322, allocations: 163.8 kB / 0.9595 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5322, allocations: 4 kB / 0.9595 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.5323, allocations: 13.38 kB / 0.9595 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5323, allocations: 3.938 kB / 0.9595 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.5323, allocations: 9.703 kB / 0.9595 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5323, allocations: 0 / 0.9595 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5323, allocations: 0 / 0.9595 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.5325, allocations: 101.5 kB / 0.9596 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.5325, allocations: 86.64 kB / 0.9597 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.5325, allocations: 1.844 kB / 0.9597 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.5326, allocations: 9.953 kB / 0.9597 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.5326, allocations: 7.656 kB / 0.9597 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.5326, allocations: 1.812 kB / 0.9597 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.047e-05/0.5326, allocations: 75.28 kB / 0.9598 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5326, allocations: 0 / 0.9598 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001704/0.5328, allocations: 5.406 kB / 0.9598 GB, free: 3.301 MB / 0.7169 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.0002372/0.533, allocations: 0.6463 MB / 0.9604 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.9e-05/0.5331, allocations: 31.78 kB / 0.9605 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5331, allocations: 0 / 0.9605 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.367e-05/0.5332, allocations: 18.94 kB / 0.9605 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.5333, allocations: 2.906 kB / 0.9605 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.534, allocations: 1.171 MB / 0.9616 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.87e-05/0.534, allocations: 0.6798 MB / 0.9623 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.5341, allocations: 6.75 kB / 0.9623 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.5341, allocations: 10.19 kB / 0.9623 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5341, allocations: 0 / 0.9623 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009282/0.5434, allocations: 1.169 MB / 0.9634 GB, free: 300 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.5436, allocations: 273.7 kB / 0.9637 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.051, allocations: 0 / 0.9637 GB, free: 15.93 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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