Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 115.8 kB / 17.93 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 192.4 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7634 GB, free: 10.88 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.88 kB / 1.108 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9358/0.9378, allocations: 168.7 MB / 1.272 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002547/0.9404, allocations: 1.287 MB / 1.274 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.9415, allocations: 0.6519 MB / 1.274 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.9416, allocations: 0 / 1.274 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.9416, allocations: 4 kB / 1.274 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.9416, allocations: 7.922 kB / 1.274 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.9421, allocations: 107.5 kB / 1.274 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.9421, allocations: 27.86 kB / 1.274 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.9422, allocations: 3.984 kB / 1.274 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.649e-05/0.9422, allocations: 11.94 kB / 1.274 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.9423, allocations: 11.98 kB / 1.274 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.9423, allocations: 0 / 1.274 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.9426, allocations: 143.8 kB / 1.275 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.9426, allocations: 7.938 kB / 1.275 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.9426, allocations: 15.92 kB / 1.275 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.9428, allocations: 97.53 kB / 1.275 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9428, allocations: 4 kB / 1.275 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9428, allocations: 0 / 1.275 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.9428, allocations: 0 / 1.275 GB, free: 1.965 MB / 0.9669 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.0005806/0.9434, allocations: 351.3 kB / 1.275 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.9435, allocations: 12.62 kB / 1.275 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.9435, allocations: 38.75 kB / 1.275 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.9439, allocations: 24.91 kB / 1.275 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.9441, allocations: 176.2 kB / 1.275 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.9441, allocations: 4.375 kB / 1.275 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.9441, allocations: 384 / 1.275 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.9443, allocations: 62.16 kB / 1.275 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.9443, allocations: 11.88 kB / 1.275 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.9443, allocations: 0 / 1.275 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9443, allocations: 0 / 1.275 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.9445, allocations: 27.97 kB / 1.275 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.9447, allocations: 165.5 kB / 1.276 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.945, allocations: 66.58 kB / 1.276 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.9451, allocations: 24.94 kB / 1.276 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.9451, allocations: 0 / 1.276 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.9451, allocations: 46.48 kB / 1.276 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.9451, allocations: 0 / 1.276 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.003743/0.9489, allocations: 0.576 MB / 1.276 GB, free: 176 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.9489, allocations: 55.41 kB / 1.276 GB, free: 108 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.34e-05/0.949, allocations: 89.95 kB / 1.276 GB, free: 8 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/0.949, allocations: 33.73 kB / 1.276 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.9491, allocations: 88.12 kB / 1.276 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.9491, allocations: 15.8 kB / 1.276 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.9492, allocations: 29.69 kB / 1.277 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.9493, allocations: 314.8 kB / 1.277 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.9495, allocations: 35.97 kB / 1.277 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.9496, allocations: 35.97 kB / 1.277 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.9499, allocations: 88.75 kB / 1.277 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.9499, allocations: 0 / 1.277 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003774/0.9503, allocations: 125.5 kB / 1.277 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.9503, allocations: 4 kB / 1.277 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.9503, allocations: 0 / 1.277 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.9503, allocations: 0 / 1.277 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.9506, allocations: 27.97 kB / 1.277 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.9506, allocations: 0 / 1.277 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.9507, allocations: 11.98 kB / 1.277 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.9508, allocations: 4 kB / 1.277 GB, free: 15.18 MB / 0.9825 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.0001118/0.9509, allocations: 115.5 kB / 1.277 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.9509, allocations: 11.92 kB / 1.277 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.805e-05/0.951, allocations: 15.91 kB / 1.277 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.951, allocations: 4.328 kB / 1.277 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.951, allocations: 0 / 1.277 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.951, allocations: 3.938 kB / 1.277 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.9512, allocations: 179.7 kB / 1.277 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.9512, allocations: 7.984 kB / 1.277 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.9514, allocations: 23.91 kB / 1.277 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.9514, allocations: 0 / 1.277 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.9514, allocations: 11.98 kB / 1.277 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9514, allocations: 0 / 1.277 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9514, allocations: 4 kB / 1.277 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.952, allocations: 181 kB / 1.278 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.952, allocations: 97.09 kB / 1.278 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.9521, allocations: 4.125 kB / 1.278 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.9523, allocations: 11.98 kB / 1.278 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.9523, allocations: 3.984 kB / 1.278 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.9523, allocations: 4 kB / 1.278 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.9524, allocations: 75.28 kB / 1.278 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9524, allocations: 0 / 1.278 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002523/0.9526, allocations: 43.95 kB / 1.278 GB, free: 14.3 MB / 0.9825 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.000977/0.9536, allocations: 0.7434 MB / 1.279 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.9539, allocations: 87.86 kB / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9539, allocations: 0 / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.9541, allocations: 52.02 kB / 1.279 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.9544, allocations: 4 kB / 1.279 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.9566, allocations: 1.372 MB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.9569, allocations: 0.6806 MB / 1.281 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.9571, allocations: 31.92 kB / 1.281 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.588e-05/0.9572, allocations: 19.41 kB / 1.281 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.9572, allocations: 4 kB / 1.281 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.9844, allocations: 2.453 MB / 1.283 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/9.015, allocations: 11.67 kB / 1.283 GB, free: 8.84 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-09 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.13240694499109]