Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.001332/0.001332, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001399/0.001399, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.043/3.043, allocations: 0.49 GB / 0.7923 GB, free: 1.48 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.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.002488/0.002488, allocations: 63.84 kB / 1.149 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.031, allocations: 176.1 MB / 1.321 GB, free: 24.81 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002286/1.033, allocations: 1.441 MB / 1.323 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008929/1.034, allocations: 0.6052 MB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/1.034, allocations: 0 / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/1.034, allocations: 3.281 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/1.034, allocations: 3.938 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/1.035, allocations: 98.55 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.608e-05/1.035, allocations: 26.92 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.293e-05/1.035, allocations: 6.625 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.063e-05/1.035, allocations: 12.31 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/1.035, allocations: 10.66 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/1.035, allocations: 2.531 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/1.035, allocations: 149.7 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/1.035, allocations: 10.11 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/1.035, allocations: 10.41 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/1.035, allocations: 108.2 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.035, allocations: 0 / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.392e-06/1.035, allocations: 0 / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.811e-06/1.035, allocations: 0 / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004443/1.036, allocations: 366.7 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.036, allocations: 12.3 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.065e-05/1.036, allocations: 192 / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/1.036, allocations: 37.62 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004992/1.036, allocations: 29.44 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/1.036, allocations: 166.9 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/1.036, allocations: 4.375 kB / 1.324 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/1.036, allocations: 2.906 kB / 1.324 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/1.037, allocations: 73.34 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.037, allocations: 0 / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/1.037, allocations: 0 / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.037, allocations: 2.5 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/1.037, allocations: 54.69 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/1.038, allocations: 278.9 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/1.038, allocations: 61.42 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/1.038, allocations: 33.86 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/1.038, allocations: 0 / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/1.038, allocations: 30.56 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.038, allocations: 0 / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0005536/1.039, allocations: 114.9 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/1.039, allocations: 51.41 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/1.039, allocations: 102.9 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/1.039, allocations: 25.7 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/1.039, allocations: 80.14 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/1.039, allocations: 14.95 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/1.039, allocations: 23.53 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/1.039, allocations: 310.8 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/1.039, allocations: 32.64 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/1.039, allocations: 22.16 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/1.039, allocations: 67.92 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.039, allocations: 0 / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003289/1.04, allocations: 94.33 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.04, allocations: 3.344 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.04, allocations: 2.734 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.04, allocations: 3.984 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/1.04, allocations: 11.89 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.04, allocations: 0 / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/1.04, allocations: 12.94 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/1.04, allocations: 7.172 kB / 1.326 GB, free: 21.39 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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 7.263e-05/1.04, allocations: 122.7 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/1.04, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/1.04, allocations: 5.75 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/1.04, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.04, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.04, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/1.04, allocations: 169.4 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.04, allocations: 4 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/1.04, allocations: 19.5 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.04, allocations: 0 / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/1.04, allocations: 2.688 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.04, allocations: 0 / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.04, allocations: 0 / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/1.041, allocations: 188.6 kB / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/1.041, allocations: 84 kB / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/1.041, allocations: 0 / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/1.041, allocations: 13.47 kB / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/1.041, allocations: 0 / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/1.041, allocations: 0 / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.952e-05/1.041, allocations: 84.28 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.041, allocations: 4.031 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002563/1.041, allocations: 16.5 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000587/1.042, allocations: 0.7268 MB / 1.327 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000332/1.042, allocations: 63.2 kB / 1.327 GB, free: 20.03 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.042, allocations: 0 / 1.327 GB, free: 20.03 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/1.042, allocations: 35.44 kB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/1.043, allocations: 2.875 kB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/1.043, allocations: 173.7 kB / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/1.043, allocations: 0.6719 MB / 1.328 GB, free: 19.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.309e-05/1.043, allocations: 14.25 kB / 1.328 GB, free: 19.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/1.044, allocations: 14.16 kB / 1.328 GB, free: 19.14 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.044, allocations: 3.938 kB / 1.328 GB, free: 19.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/1.064, allocations: 1.714 MB / 1.33 GB, free: 18.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.694/9.757, allocations: 13.22 kB / 1.33 GB, free: 18.73 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.575056470988784]