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.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_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.00555/0.00555, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.001133/0.001133, allocations: 186.1 kB / 16.67 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.326/2.326, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.75 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2502, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002334/0.2526, allocations: 1.243 MB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009631/0.2536, allocations: 0.6247 MB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.2536, allocations: 0 / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.2537, allocations: 0 / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.2537, allocations: 3.938 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.2543, allocations: 135.4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.32e-05/0.2543, allocations: 8 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.2544, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.397e-05/0.2544, allocations: 7.984 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.2545, allocations: 11.94 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.2545, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.2548, allocations: 223.6 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.2549, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.2549, allocations: 7.984 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.2551, allocations: 126.6 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2551, allocations: 3.938 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2552, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2552, allocations: 8 kB / 1.09 GB, free: 15.55 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.0004269/0.2556, allocations: 350.2 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.2557, allocations: 15.97 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.2557, allocations: 30.75 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.2558, allocations: 8.922 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.2559, allocations: 164.3 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.256, allocations: 4.375 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.256, allocations: 4.375 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.2561, allocations: 46.25 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2561, allocations: 3.938 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.2561, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2561, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.577e-05/0.2562, allocations: 15.92 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.2563, allocations: 149.7 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.2565, allocations: 46.61 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.2566, allocations: 20.94 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2566, allocations: 4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2566, allocations: 30.56 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2566, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0006826/0.2573, allocations: 314.5 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.2574, allocations: 59.41 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.357e-05/0.2574, allocations: 93.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.2574, allocations: 29.7 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.2575, allocations: 80.14 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.2575, allocations: 23.64 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.2575, allocations: 17.72 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.2576, allocations: 314.8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.2577, allocations: 11.98 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.2577, allocations: 12 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/0.2578, allocations: 32.86 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2578, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.531e-05/0.2579, allocations: 65.62 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2579, allocations: 7.938 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2579, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2579, allocations: 3.984 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.258, allocations: 8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.258, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.545e-05/0.258, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.2581, allocations: 4 kB / 1.092 GB, free: 13.34 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 6.789e-05/0.2581, allocations: 115.8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.2582, allocations: 7.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.2583, allocations: 69.58 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2583, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2583, allocations: 4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2583, allocations: 3.938 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2584, allocations: 161.7 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2584, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-05/0.2585, allocations: 12.11 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2585, allocations: 15.94 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2585, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2586, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2586, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.2587, allocations: 101 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.2588, allocations: 85.03 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.2588, allocations: 4.031 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.2589, allocations: 12.06 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.2589, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.2589, allocations: 3.938 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.728e-05/0.2589, allocations: 83.27 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2589, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000182/0.2591, allocations: 4 kB / 1.092 GB, free: 12.57 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 (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.0003844/0.2595, allocations: 0.6398 MB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.2596, allocations: 35.92 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2596, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.941e-05/0.2597, allocations: 19.98 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.2599, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009174/0.2608, allocations: 1.158 MB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.2611, allocations: 0.6768 MB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.2611, allocations: 11.98 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.2611, allocations: 15.42 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of SimCode: time 2.905e-06/0.2612, allocations: 0 / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.2803, allocations: 1.39 MB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.758, allocations: 10.28 kB / 1.096 GB, free: 8.676 MB / 0.8575 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