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.001382/0.001382, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.135/2.135, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6128/0.6141, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.001987/0.6161, allocations: 1.245 MB / 0.9509 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004926/0.6166, allocations: 317.2 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.6167, allocations: 1.406 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.6167, allocations: 7.922 kB / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.533e-05/0.6167, allocations: 0 / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.617, allocations: 62.44 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.955e-05/0.6171, allocations: 14.7 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.6171, allocations: 1.5 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.223e-05/0.6172, allocations: 12.98 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.6172, allocations: 6.562 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.6172, allocations: 1.562 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.6174, allocations: 69.61 kB / 0.9514 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.6174, allocations: 3.984 kB / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.6174, allocations: 15.64 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.6175, allocations: 41.62 kB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6176, allocations: 5.938 kB / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6176, allocations: 0 / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.6176, allocations: 0 / 0.9515 GB, free: 7.789 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.0003055/0.6179, allocations: 331.6 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6179, allocations: 10.09 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.091e-05/0.6179, allocations: 34.75 kB / 0.9518 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.6181, allocations: 12.83 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.782e-05/0.6181, allocations: 161.8 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.6182, allocations: 4.375 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.6182, allocations: 2.875 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.6183, allocations: 46.33 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.6183, allocations: 3.938 kB / 0.9521 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.6183, allocations: 0 / 0.9521 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6183, allocations: 5.281 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/0.6184, allocations: 14.31 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.6185, allocations: 162 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.6187, allocations: 48.97 kB / 0.9523 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.6187, allocations: 17.33 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.6187, allocations: 1.625 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.6188, allocations: 38.56 kB / 0.9523 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.6188, allocations: 4 kB / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.00121/0.62, allocations: 401.4 kB / 0.9527 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.62, allocations: 53 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.577e-05/0.62, allocations: 89.86 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.62, allocations: 25.7 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.656e-05/0.6201, allocations: 85.64 kB / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.6201, allocations: 17.36 kB / 0.953 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.6201, allocations: 18.94 kB / 0.953 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.181e-05/0.6202, allocations: 316.1 kB / 0.9533 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.661e-05/0.6202, allocations: 20.55 kB / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.6203, allocations: 17.02 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.6203, allocations: 40.7 kB / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.6203, allocations: 0 / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001104/0.6205, allocations: 84.86 kB / 0.9535 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6205, allocations: 13.31 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.6205, allocations: 0 / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6205, allocations: 1.156 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.6206, allocations: 9.75 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.6206, allocations: 0 / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.6207, allocations: 9.297 kB / 0.9535 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.6207, allocations: 5.391 kB / 0.9535 GB, free: 5.719 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.708e-05/0.6207, allocations: 108.1 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.6208, allocations: 5.375 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.6209, allocations: 103.4 kB / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.621, allocations: 1.438 kB / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.621, allocations: 0 / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.621, allocations: 0 / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.218e-05/0.621, allocations: 178 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.621, allocations: 0 / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/0.6211, allocations: 15.05 kB / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.6212, allocations: 3.938 kB / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.6212, allocations: 1.625 kB / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6212, allocations: 0 / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6212, allocations: 0 / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.6213, allocations: 128.2 kB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.6214, allocations: 82.39 kB / 0.9541 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.6214, allocations: 9.156 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.6215, allocations: 11.95 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.6215, allocations: 5.375 kB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.6215, allocations: 2.656 kB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.153e-05/0.6215, allocations: 75.28 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6215, allocations: 0 / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001813/0.6217, allocations: 11.84 kB / 0.9542 GB, free: 4.992 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 (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.0002909/0.622, allocations: 0.6597 MB / 0.9549 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.6221, allocations: 49.59 kB / 0.9549 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6221, allocations: 1 kB / 0.9549 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.751e-05/0.6222, allocations: 26.47 kB / 0.9549 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.6224, allocations: 11.98 kB / 0.9549 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/0.6232, allocations: 1.185 MB / 0.9561 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.462e-05/0.6233, allocations: 0.6833 MB / 0.9568 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.658e-05/0.6233, allocations: 10.53 kB / 0.9568 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.6234, allocations: 15.55 kB / 0.9568 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6234, allocations: 0 / 0.9568 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.6405, allocations: 1.631 MB / 0.9584 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/9.044, allocations: 11.81 kB / 0.9584 GB, free: 1.594 MB / 0.7169 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