Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001245/0.001245, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001433/0.001433, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.367/3.367, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_12_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.002086/0.002086, allocations: 68.62 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3729, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002914/0.3758, allocations: 1.307 MB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3771, allocations: 0.6038 MB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.3771, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.3771, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.975e-05/0.3772, allocations: 7.875 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.3777, allocations: 111.5 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.538e-05/0.3778, allocations: 23.92 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.3778, allocations: 4 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.3779, allocations: 4 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.482e-05/0.3779, allocations: 19.91 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3779, allocations: 4 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.3782, allocations: 139.8 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.3783, allocations: 11.97 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.3783, allocations: 4 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3785, allocations: 99.98 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3785, allocations: 3.938 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3785, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.3786, allocations: 0 / 1.329 GB, free: 15.11 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.0005216/0.3791, allocations: 282.1 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3791, allocations: 8.031 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.321e-05/0.3791, allocations: 8.125 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/0.3792, allocations: 34.75 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004812/0.3797, allocations: 36.89 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.3798, allocations: 106.5 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3798, allocations: 384 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.3798, allocations: 4.375 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.38, allocations: 87.67 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.38, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.38, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.38, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.3802, allocations: 31.97 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.3804, allocations: 140.7 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.3808, allocations: 66.52 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.3808, allocations: 20.94 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3809, allocations: 4 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.3809, allocations: 46.48 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 2.995e-06/0.3809, allocations: 3.984 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.00386/0.3848, allocations: 0.4968 MB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.3848, allocations: 51.41 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.3849, allocations: 93.86 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.3849, allocations: 29.7 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.385, allocations: 88.25 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.385, allocations: 23.8 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.3851, allocations: 21.7 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.3853, allocations: 318.8 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3855, allocations: 39.84 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3856, allocations: 43.95 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.3859, allocations: 84.81 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3859, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003665/0.3862, allocations: 121.6 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3863, allocations: 8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3863, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3863, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.3865, allocations: 27.91 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3865, allocations: 240 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.3867, allocations: 11.92 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.3867, allocations: 4 kB / 1.331 GB, free: 12.57 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 0.0001007/0.3868, allocations: 110.4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3868, allocations: 11.92 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.637e-05/0.3869, allocations: 12.06 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3869, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3869, allocations: 4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3869, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.3871, allocations: 146.8 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.3871, allocations: 7.938 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.3873, allocations: 19.97 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3873, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.3873, allocations: 11.98 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3873, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3873, allocations: 3.984 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005943/0.3879, allocations: 193 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.388, allocations: 7.938 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.388, allocations: 4.125 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.3882, allocations: 11.98 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.3882, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3882, allocations: 7.984 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.528e-05/0.3883, allocations: 83.34 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3883, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002491/0.3885, allocations: 27.94 kB / 1.332 GB, free: 11.84 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.0009607/0.3895, allocations: 0.7607 MB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.3898, allocations: 83.92 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3898, allocations: 3.938 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.39, allocations: 51.89 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.3902, allocations: 9.719 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.3925, allocations: 1.356 MB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.914e-05/0.3926, allocations: 63.34 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.3927, allocations: 32 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.609e-05/0.3928, allocations: 15.42 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.3928, allocations: 0 / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.418, allocations: 2.742 MB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.12, allocations: 7.016 kB / 1.337 GB, free: 6.805 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-09 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.284561736974865]