Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 114.5 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002265/0.002265, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.116/3.116, allocations: 0.5003 GB / 0.8026 GB, free: 6.699 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 1.165 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 178.9 MB / 1.34 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002495/1.012, allocations: 1.307 MB / 1.341 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001133/1.013, allocations: 0.6428 MB / 1.342 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/1.013, allocations: 1.688 kB / 1.342 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/1.013, allocations: 0 / 1.342 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.066e-05/1.013, allocations: 11.91 kB / 1.342 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/1.014, allocations: 112.1 kB / 1.342 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.729e-05/1.014, allocations: 24.11 kB / 1.342 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/1.014, allocations: 1.094 kB / 1.342 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.297e-05/1.014, allocations: 10.98 kB / 1.342 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/1.014, allocations: 16.11 kB / 1.342 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/1.014, allocations: 1.469 kB / 1.342 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/1.014, allocations: 152.5 kB / 1.342 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/1.014, allocations: 5.094 kB / 1.342 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/1.014, allocations: 12.95 kB / 1.342 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/1.014, allocations: 102.6 kB / 1.342 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.014, allocations: 1.656 kB / 1.342 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.002e-06/1.014, allocations: 0 / 1.342 GB, free: 11.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.014, allocations: 3.938 kB / 1.342 GB, free: 11.96 MB / 1.029 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.000532/1.015, allocations: 357.2 kB / 1.343 GB, free: 11.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/1.015, allocations: 10.47 kB / 1.343 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.192e-05/1.015, allocations: 1.25 kB / 1.343 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/1.015, allocations: 34.75 kB / 1.343 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004665/1.015, allocations: 36.08 kB / 1.343 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/1.016, allocations: 169.1 kB / 1.343 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/1.016, allocations: 5.188 kB / 1.343 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/1.016, allocations: 2.344 kB / 1.343 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/1.016, allocations: 62.19 kB / 1.343 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/1.016, allocations: 4 kB / 1.343 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/1.016, allocations: 0 / 1.343 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.016, allocations: 1 kB / 1.343 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/1.016, allocations: 26.31 kB / 1.343 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/1.016, allocations: 167.8 kB / 1.343 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/1.017, allocations: 70.23 kB / 1.343 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/1.017, allocations: 24.34 kB / 1.343 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/1.017, allocations: 1 kB / 1.343 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/1.017, allocations: 35.69 kB / 1.343 GB, free: 10.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.017, allocations: 0 / 1.343 GB, free: 10.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.003655/1.02, allocations: 0.5816 MB / 1.344 GB, free: 10.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/1.02, allocations: 52.81 kB / 1.344 GB, free: 10.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/1.02, allocations: 95.95 kB / 1.344 GB, free: 10.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/1.021, allocations: 27.02 kB / 1.344 GB, free: 10.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/1.021, allocations: 88.27 kB / 1.344 GB, free: 10.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/1.021, allocations: 19.44 kB / 1.344 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/1.021, allocations: 23.42 kB / 1.344 GB, free: 10.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.021, allocations: 319.9 kB / 1.345 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/1.021, allocations: 39.12 kB / 1.345 GB, free: 9.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/1.021, allocations: 37.75 kB / 1.345 GB, free: 9.801 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/1.021, allocations: 83 kB / 1.345 GB, free: 9.754 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/1.021, allocations: 1.406 kB / 1.345 GB, free: 9.754 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003893/1.022, allocations: 120.5 kB / 1.345 GB, free: 9.676 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.022, allocations: 7.344 kB / 1.345 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.022, allocations: 0 / 1.345 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.022, allocations: 0.9375 kB / 1.345 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/1.022, allocations: 30.66 kB / 1.345 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.022, allocations: 4.875 kB / 1.345 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/1.022, allocations: 4.375 kB / 1.345 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/1.022, allocations: 10.48 kB / 1.345 GB, free: 9.648 MB / 1.029 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 9.999e-05/1.022, allocations: 111.2 kB / 1.345 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/1.022, allocations: 11.09 kB / 1.345 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/1.022, allocations: 7.969 kB / 1.345 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.022, allocations: 6.062 kB / 1.345 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.022, allocations: 7.969 kB / 1.345 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/1.022, allocations: 0 / 1.345 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/1.023, allocations: 191.2 kB / 1.345 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.023, allocations: 3.938 kB / 1.345 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/1.023, allocations: 21.97 kB / 1.345 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.023, allocations: 1.188 kB / 1.345 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/1.023, allocations: 1.125 kB / 1.345 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.023, allocations: 5.25 kB / 1.345 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.023, allocations: 3.938 kB / 1.345 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/1.024, allocations: 190.2 kB / 1.345 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/1.024, allocations: 89.84 kB / 1.346 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/1.024, allocations: 5.125 kB / 1.346 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/1.024, allocations: 10.89 kB / 1.346 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/1.024, allocations: 2.188 kB / 1.346 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/1.024, allocations: 6.203 kB / 1.346 GB, free: 9.004 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.487e-05/1.024, allocations: 78.09 kB / 1.346 GB, free: 8.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.024, allocations: 0 / 1.346 GB, free: 8.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002709/1.024, allocations: 34.75 kB / 1.346 GB, free: 8.918 MB / 1.029 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.0009815/1.025, allocations: 0.7594 MB / 1.346 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003889/1.026, allocations: 83.61 kB / 1.347 GB, free: 8.191 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.026, allocations: 1.406 kB / 1.347 GB, free: 8.191 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/1.026, allocations: 54.3 kB / 1.347 GB, free: 8.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/1.026, allocations: 3.719 kB / 1.347 GB, free: 8.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/1.028, allocations: 1.363 MB / 1.348 GB, free: 6.891 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/1.028, allocations: 0.683 MB / 1.349 GB, free: 6.188 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001595/1.029, allocations: 27.66 kB / 1.349 GB, free: 6.168 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.498e-05/1.029, allocations: 19.75 kB / 1.349 GB, free: 6.152 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/1.029, allocations: 0 / 1.349 GB, free: 6.152 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/1.049, allocations: 2.558 MB / 1.351 GB, free: 4.867 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.8/9.849, allocations: 18.53 kB / 1.351 GB, free: 4.855 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.727551139018033]