Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001325/0.001325, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001487/0.001487, allocations: 218.8 kB / 22.26 MB, free: 5.125 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.988 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.249/3.249, allocations: 0.49 GB / 0.7951 GB, free: 33.56 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.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_12_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.002901/0.002901, allocations: 72.78 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3735, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002832/0.3763, allocations: 1.278 MB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006319/0.3769, allocations: 239.2 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.377, allocations: 4 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.377, allocations: 0 / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.162e-05/0.377, allocations: 0 / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.3774, allocations: 43.7 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.55e-05/0.3775, allocations: 15.98 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.3775, allocations: 4 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.41e-05/0.3776, allocations: 19.97 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.3776, allocations: 4 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3777, allocations: 0 / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.3778, allocations: 51.89 kB / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.3778, allocations: 4 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.3778, allocations: 7.984 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.378, allocations: 40.11 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.378, allocations: 0 / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.378, allocations: 4 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.378, allocations: 3.938 kB / 1.328 GB, free: 252 kB / 1.014 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.0004755/0.3785, allocations: 262.3 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3785, allocations: 8.031 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.3786, allocations: 34.75 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.3787, allocations: 12.88 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.3788, allocations: 110.5 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3789, allocations: 384 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.3789, allocations: 8.359 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.379, allocations: 50.25 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.379, allocations: 3.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.379, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3791, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.675e-05/0.3791, allocations: 15.94 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.3793, allocations: 132.8 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3794, allocations: 42.56 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.3795, allocations: 20.98 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3795, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.3795, allocations: 38.55 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.3795, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.002242/0.3817, allocations: 428.9 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.3818, allocations: 55.41 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.824e-05/0.3818, allocations: 97.73 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3819, allocations: 25.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.3819, allocations: 84.14 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.3819, allocations: 23.8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.382, allocations: 25.72 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3821, allocations: 318.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.3822, allocations: 16 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.3822, allocations: 27.98 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.3823, allocations: 52.86 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3823, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001677/0.3825, allocations: 101.5 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3825, allocations: 4 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3825, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3825, allocations: 7.984 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3827, allocations: 15.94 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3827, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.3828, allocations: 4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3828, allocations: 0 / 1.33 GB, free: 14.03 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 (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 0.0001056/0.3829, allocations: 114.4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.3829, allocations: 3.938 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.209e-05/0.383, allocations: 19.88 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.383, allocations: 4.281 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.383, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.383, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.3831, allocations: 154.5 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3831, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.3833, allocations: 15.94 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3833, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3833, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3833, allocations: 448 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3833, allocations: 3.938 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.3836, allocations: 141.1 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.3836, allocations: 15.91 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3836, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.3837, allocations: 11.94 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.3838, allocations: 3.984 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3838, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.3838, allocations: 75.28 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3838, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001996/0.384, allocations: 12.06 kB / 1.33 GB, free: 13.37 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 (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.0006024/0.3846, allocations: 0.6906 MB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.3848, allocations: 59.91 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3848, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.482e-05/0.3848, allocations: 28 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.3851, allocations: 14.08 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.3866, allocations: 1.264 MB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.387, allocations: 0.6883 MB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.105e-05/0.387, allocations: 7.984 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.3871, allocations: 15.44 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3871, allocations: 0 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.4179, allocations: 1.767 MB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.58, allocations: 6.953 kB / 1.335 GB, free: 8.891 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-09 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.484435830032453]