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.001463/0.001463, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001464/0.001464, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.314/1.314, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] 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.361/2.361, allocations: 443.5 MB / 0.7304 GB, free: 13.96 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.001782/0.001782, allocations: 67.89 kB / 1.059 GB, free: 1.016 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2594, allocations: 160.7 MB / 1.216 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002223/0.2616, allocations: 1.297 MB / 1.217 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009627/0.2626, allocations: 0.5898 MB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.2626, allocations: 0 / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.2626, allocations: 3.984 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.925e-05/0.2627, allocations: 3.938 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.2631, allocations: 91.58 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.086e-05/0.2632, allocations: 27.84 kB / 1.218 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.2632, allocations: 4 kB / 1.218 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.2633, allocations: 4 kB / 1.218 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.2633, allocations: 7.938 kB / 1.218 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.2633, allocations: 0 / 1.218 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.2636, allocations: 147.7 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.2636, allocations: 3.984 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.2637, allocations: 11.94 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.2639, allocations: 80.06 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2639, allocations: 8 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2639, allocations: 0 / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.2639, allocations: 0 / 1.218 GB, free: 13.7 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.0004208/0.2643, allocations: 347.2 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2643, allocations: 12.03 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.2644, allocations: 30.75 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/0.2648, allocations: 32.89 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.2649, allocations: 164.3 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2649, allocations: 8.312 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.2649, allocations: 384 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.2651, allocations: 46.22 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2651, allocations: 3.938 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2651, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2651, allocations: 4 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.2652, allocations: 27.97 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.2654, allocations: 153.7 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2656, allocations: 42.5 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.556e-05/0.2656, allocations: 20.91 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.2656, allocations: 3.938 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.2657, allocations: 34.56 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2657, allocations: 0 / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003099/0.266, allocations: 73.59 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.266, allocations: 55.53 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.473e-05/0.2661, allocations: 97.84 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2661, allocations: 25.7 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.2662, allocations: 80.14 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.2662, allocations: 7.953 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.2662, allocations: 21.64 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2663, allocations: 310.8 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.255e-05/0.2664, allocations: 15.98 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.2665, allocations: 15.98 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.2666, allocations: 28.84 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2666, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001706/0.2668, allocations: 57.73 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2668, allocations: 11.94 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2668, allocations: 0 / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2668, allocations: 0 / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.2669, allocations: 7.984 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2669, allocations: 7.875 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.267, allocations: 4 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/0.267, allocations: 3.984 kB / 1.219 GB, free: 11.74 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.892e-05/0.2671, allocations: 117.9 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.2671, allocations: 3.938 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.2671, allocations: 3.312 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2671, allocations: 3.984 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2671, allocations: 0 / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2671, allocations: 0 / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.2672, allocations: 169.6 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2672, allocations: 4 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.2673, allocations: 7.984 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2673, allocations: 7.938 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.2673, allocations: 0 / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2673, allocations: 0 / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2673, allocations: 3.984 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.2675, allocations: 85.05 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.2676, allocations: 85.12 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.2676, allocations: 7.938 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.572e-05/0.2676, allocations: 3.938 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-06/0.2676, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.2677, allocations: 8 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.2677, allocations: 79.27 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2677, allocations: 0 / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001895/0.2679, allocations: 12 kB / 1.22 GB, free: 11.05 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.0005388/0.2684, allocations: 0.6358 MB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.2686, allocations: 35.94 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2686, allocations: 0 / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.775e-05/0.2687, allocations: 15.98 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.2689, allocations: 5.562 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.2693, allocations: 152.1 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.2696, allocations: 0.6769 MB / 1.221 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.839e-05/0.2696, allocations: 11.94 kB / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.2697, allocations: 11.42 kB / 1.222 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/0.2697, allocations: 0 / 1.222 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.293, allocations: 1.552 MB / 1.223 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.988/7.281, allocations: 8.578 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 12.53029203600454]