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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00169/0.00169, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001928/0.001928, allocations: 195.6 kB / 16.14 MB, free: 6.648 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.5518, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002448/0.5543, allocations: 1.321 MB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009308/0.5552, allocations: 0.6268 MB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.169e-05/0.5553, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.5553, allocations: 7.984 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.013e-05/0.5554, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.5558, allocations: 115.6 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.537e-05/0.5558, allocations: 19.92 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.5559, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.036e-05/0.5559, allocations: 7.984 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.5559, allocations: 7.984 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.225e-06/0.556, allocations: 3.938 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.5563, allocations: 211.6 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.5563, allocations: 7.984 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.5563, allocations: 8 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.5566, allocations: 145.8 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5566, allocations: 0 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.71e-07/0.5566, allocations: 0 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.5566, allocations: 0 / 1.019 GB, free: 340 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.0003666/0.557, allocations: 347.5 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.557, allocations: 8.031 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.557, allocations: 38.73 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.5572, allocations: 12.94 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.491e-05/0.5573, allocations: 164.4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.5573, allocations: 384 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.5573, allocations: 4.375 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.9e-05/0.5574, allocations: 38.25 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.5574, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.5574, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.5575, allocations: 4 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/0.5575, allocations: 11.94 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.5576, allocations: 157.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.5578, allocations: 38.61 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.5579, allocations: 20.94 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.5579, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.5579, allocations: 30.56 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.5579, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0006493/0.5586, allocations: 322.5 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.5586, allocations: 51.41 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.143e-05/0.5586, allocations: 89.86 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.5587, allocations: 29.7 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.5587, allocations: 80.14 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.5587, allocations: 19.66 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.5588, allocations: 29.64 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.5589, allocations: 314.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/0.5589, allocations: 8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.5589, allocations: 15.97 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.907e-05/0.559, allocations: 32.86 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.559, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.836e-05/0.5591, allocations: 65.62 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5591, allocations: 7.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5591, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5592, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.5592, allocations: 20.05 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.5592, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.5593, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.5593, allocations: 0 / 1.021 GB, free: 14.12 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 7.355e-05/0.5594, allocations: 114.3 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.5594, allocations: 3.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.5595, allocations: 77.58 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5595, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5596, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.5596, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.5597, allocations: 157.7 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5597, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.921e-05/0.5598, allocations: 8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5598, allocations: 3.938 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.5598, allocations: 3.984 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5598, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5598, allocations: 4.234 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.56, allocations: 109 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.56, allocations: 81.05 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.56, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.5601, allocations: 8.016 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.5601, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.5601, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.454e-05/0.5601, allocations: 75.28 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5602, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001937/0.5604, allocations: 12.06 kB / 1.022 GB, free: 13.36 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.0003836/0.5607, allocations: 0.6477 MB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.023e-05/0.5608, allocations: 39.97 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5609, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.656e-05/0.5609, allocations: 16 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.5611, allocations: 12.06 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.562, allocations: 1.147 MB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.5623, allocations: 0.6848 MB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.494e-05/0.5623, allocations: 3.984 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.5623, allocations: 15.44 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5624, allocations: 0 / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009996/0.5724, allocations: 1.235 MB / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/0.5726, allocations: 274.4 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.254, allocations: 0 / 1.026 GB, free: 9.258 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