Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001469/0.001469, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001666/0.001666, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437.1 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.89 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7121, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.00229/0.7144, allocations: 1.315 MB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.7153, allocations: 0.6114 MB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.7153, allocations: 3.938 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.7154, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.7154, allocations: 11.94 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.7158, allocations: 123.5 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.358e-05/0.7159, allocations: 15.98 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.7159, allocations: 4 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.932e-05/0.716, allocations: 4 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.716, allocations: 11.92 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.716, allocations: 4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.7163, allocations: 211.6 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.7163, allocations: 7.984 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.7164, allocations: 11.98 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.7166, allocations: 130 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7166, allocations: 0 / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7166, allocations: 0 / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.7166, allocations: 0 / 1.019 GB, free: 236 kB / 0.7637 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.0003783/0.717, allocations: 351.4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.717, allocations: 8.031 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.7171, allocations: 38.69 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.7172, allocations: 16.92 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.447e-05/0.7173, allocations: 160.4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.7173, allocations: 384 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.7174, allocations: 384 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.7175, allocations: 46.23 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.7175, allocations: 7.922 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.7175, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7175, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.825e-05/0.7175, allocations: 12 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.7177, allocations: 157.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.7179, allocations: 42.55 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.7179, allocations: 16.86 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.7179, allocations: 3.984 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.718, allocations: 38.64 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.718, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0006379/0.7186, allocations: 306.2 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.7187, allocations: 55.41 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.44e-05/0.7187, allocations: 89.86 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.7187, allocations: 29.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.7188, allocations: 84.08 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.7188, allocations: 19.66 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.7188, allocations: 29.64 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.7189, allocations: 314.8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.719, allocations: 15.94 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.719, allocations: 7.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.65e-05/0.7191, allocations: 32.86 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.7191, allocations: 64 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.103e-05/0.7192, allocations: 65.69 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.7192, allocations: 7.938 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7192, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.7192, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.7193, allocations: 23.92 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.7193, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.7193, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.7193, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 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 6.538e-05/0.7194, allocations: 110.4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.7194, allocations: 3.938 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.7196, allocations: 77.95 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7196, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7196, allocations: 4 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7196, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.7197, allocations: 165.6 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7197, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.7198, allocations: 8 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.7198, allocations: 3.938 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.7198, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7198, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.7198, allocations: 7.984 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.72, allocations: 97.12 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.72, allocations: 84.95 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.72, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.7201, allocations: 8.016 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.7201, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.7201, allocations: 128 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.006e-05/0.7202, allocations: 83.22 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7202, allocations: 3.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000184/0.7204, allocations: 8 kB / 1.022 GB, free: 13.24 MB / 0.7794 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.0003859/0.7208, allocations: 0.6438 MB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.954e-05/0.7209, allocations: 35.92 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7209, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.7209, allocations: 16 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.7211, allocations: 8.062 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009978/0.7221, allocations: 1.162 MB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.7224, allocations: 0.6768 MB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.682e-05/0.7224, allocations: 4.234 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.7225, allocations: 11.44 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.7225, allocations: 0 / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.7383, allocations: 1.286 MB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/0.7387, allocations: 274.1 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.402, allocations: 0 / 1.026 GB, free: 9.125 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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