Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.001888/0.001888, allocations: 102.5 kB / 16.45 MB, free: 6.445 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.00247/0.00247, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 3.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 1.056 GB, free: 2.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3089, allocations: 160.7 MB / 1.213 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002741/0.3116, allocations: 1.301 MB / 1.214 GB, free: 120 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3126, allocations: 0.5694 MB / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.3126, allocations: 0 / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.3127, allocations: 4 kB / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.355e-05/0.3127, allocations: 7.938 kB / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.3131, allocations: 95.55 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.919e-05/0.3132, allocations: 19.88 kB / 1.215 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.3132, allocations: 4 kB / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.253e-05/0.3133, allocations: 8 kB / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.3133, allocations: 7.922 kB / 1.215 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3133, allocations: 4 kB / 1.215 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.3136, allocations: 143.7 kB / 1.215 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.644e-06/0.3136, allocations: 0 / 1.215 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.3136, allocations: 11.94 kB / 1.215 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.3138, allocations: 88.06 kB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3138, allocations: 0 / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3138, allocations: 0 / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.3138, allocations: 0 / 1.215 GB, free: 15.16 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004911/0.3143, allocations: 351.1 kB / 1.215 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3144, allocations: 12.02 kB / 1.215 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.3144, allocations: 34.75 kB / 1.215 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003918/0.3148, allocations: 28.91 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.315, allocations: 172.3 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.315, allocations: 384 / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.315, allocations: 384 / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.3151, allocations: 54.22 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3152, allocations: 3.938 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3152, allocations: 0 / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3152, allocations: 0 / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3153, allocations: 27.97 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.3155, allocations: 158.3 kB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.3157, allocations: 42.58 kB / 1.216 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.877e-05/0.3158, allocations: 16.92 kB / 1.216 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3158, allocations: 0 / 1.216 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3158, allocations: 38.55 kB / 1.216 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.3158, allocations: 0 / 1.216 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003326/0.3162, allocations: 73.55 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/0.3162, allocations: 59.52 kB / 1.216 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.917e-05/0.3163, allocations: 97.84 kB / 1.216 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3164, allocations: 29.7 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.3164, allocations: 84.12 kB / 1.216 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.3164, allocations: 3.953 kB / 1.216 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.3165, allocations: 17.7 kB / 1.216 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3166, allocations: 314.8 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.602e-05/0.3167, allocations: 15.98 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.517e-05/0.3167, allocations: 11.98 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3169, allocations: 28.84 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3169, allocations: 0 / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001664/0.317, allocations: 61.67 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.317, allocations: 7.938 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.317, allocations: 4 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3171, allocations: 3.938 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3172, allocations: 15.98 kB / 1.217 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3172, allocations: 0 / 1.217 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.969e-05/0.3172, allocations: 4 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3172, allocations: 3.984 kB / 1.217 GB, free: 13.18 MB / 0.9669 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.937e-05/0.3173, allocations: 109.9 kB / 1.217 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.3173, allocations: 7.938 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.3174, allocations: 3.125 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3174, allocations: 0 / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3174, allocations: 0 / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.3174, allocations: 3.938 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.3175, allocations: 165.6 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3175, allocations: 3.984 kB / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.3176, allocations: 12 kB / 1.217 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3176, allocations: 3.938 kB / 1.217 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3176, allocations: 3.984 kB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3176, allocations: 0 / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3176, allocations: 0 / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.3178, allocations: 89.05 kB / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.3179, allocations: 85.09 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.3179, allocations: 3.938 kB / 1.217 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.318, allocations: 4 kB / 1.217 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.318, allocations: 0 / 1.217 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.318, allocations: 3.984 kB / 1.217 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.464e-05/0.318, allocations: 79.28 kB / 1.217 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.318, allocations: 0 / 1.217 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002011/0.3182, allocations: 12 kB / 1.217 GB, free: 12.5 MB / 0.9669 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.0006439/0.3189, allocations: 0.6358 MB / 1.218 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.3191, allocations: 36 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3191, allocations: 0 / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.337e-05/0.3191, allocations: 11.98 kB / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.3194, allocations: 11.98 kB / 1.218 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.3198, allocations: 160.1 kB / 1.218 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3202, allocations: 0.6729 MB / 1.219 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.097e-05/0.3203, allocations: 7.938 kB / 1.219 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.3203, allocations: 15.42 kB / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3203, allocations: 0 / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.3452, allocations: 1.591 MB / 1.22 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.563, allocations: 7.5 kB / 1.22 GB, free: 9.418 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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: 14.585712644737214]