Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.001712/0.001712, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002126/0.002126, allocations: 217 kB / 22.26 MB, free: 5.117 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.02 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.444/3.444, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 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.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",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.002077/0.002077, allocations: 64.27 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3763, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002549/0.3789, allocations: 1.288 MB / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005878/0.3794, allocations: 235.2 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.3795, allocations: 4 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.3795, allocations: 0 / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.092e-05/0.3795, allocations: 7.938 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.3798, allocations: 47.81 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.3799, allocations: 11.98 kB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.38, allocations: 3.984 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.836e-05/0.38, allocations: 15.94 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.3801, allocations: 4 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.3801, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3802, allocations: 51.89 kB / 1.354 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.3802, allocations: 7.969 kB / 1.354 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.3802, allocations: 11.94 kB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.3804, allocations: 40.12 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3804, allocations: 4 kB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3804, allocations: 0 / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3804, allocations: 0 / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004144/0.3808, allocations: 258.3 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3808, allocations: 8.031 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.3809, allocations: 38.73 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.381, allocations: 8.938 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.3811, allocations: 118.5 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3811, allocations: 4.375 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.3812, allocations: 384 / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3813, allocations: 46.25 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3813, allocations: 7.922 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3813, allocations: 0 / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3813, allocations: 0 / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.969e-05/0.3814, allocations: 15.94 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.3816, allocations: 132.8 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3817, allocations: 42.62 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.3817, allocations: 20.97 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.3817, allocations: 0 / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3817, allocations: 34.56 kB / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.3817, allocations: 0 / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.002231/0.384, allocations: 428.8 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.384, allocations: 59.34 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.57e-05/0.3841, allocations: 93.86 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3841, allocations: 29.7 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.3841, allocations: 80.14 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.3842, allocations: 27.8 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.3842, allocations: 17.72 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3844, allocations: 318.8 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.3844, allocations: 20 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.3845, allocations: 27.98 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.3846, allocations: 60.8 kB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3846, allocations: 3.938 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001559/0.3847, allocations: 89.62 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3847, allocations: 9.859 kB / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3847, allocations: 0 / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3848, allocations: 0 / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3849, allocations: 20.38 kB / 1.356 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3849, allocations: 4 kB / 1.356 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.385, allocations: 0 / 1.356 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.385, allocations: 4 kB / 1.356 GB, free: 4.48 MB / 1.045 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 (9): * Single equations (assignments): 9 * 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.673e-05/0.3851, allocations: 125.7 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.3851, allocations: 7.922 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.3852, allocations: 12.19 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3852, allocations: 4 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3852, allocations: 0 / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3852, allocations: 3.938 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.3853, allocations: 146.5 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3853, allocations: 0 / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.3855, allocations: 19.88 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.3855, allocations: 4 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.3855, allocations: 4 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3855, allocations: 0 / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3855, allocations: 0 / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.3858, allocations: 145 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.3858, allocations: 7.969 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.3858, allocations: 4 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.3859, allocations: 4 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.386, allocations: 8.047 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.386, allocations: 4 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.386, allocations: 75.28 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.386, allocations: 0 / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002044/0.3862, allocations: 12 kB / 1.357 GB, free: 3.832 MB / 1.045 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 (8): * Single equations (assignments): 8 * 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.0005786/0.3868, allocations: 0.6866 MB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.387, allocations: 63.91 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.387, allocations: 0 / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.664e-05/0.387, allocations: 36.16 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.3873, allocations: 4.156 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.3889, allocations: 1.279 MB / 1.359 GB, free: 1.652 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3892, allocations: 0.6786 MB / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.177e-05/0.3893, allocations: 15.98 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.3893, allocations: 15.42 kB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of SimCode: time 4e-07/0.3893, allocations: 0 / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.42, allocations: 1.755 MB / 1.361 GB, free: 15.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.62, allocations: 10.89 kB / 1.361 GB, free: 15.34 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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: 18.725419583031908]