Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.001886/0.001886, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001943/0.001943, allocations: 215.3 kB / 22.24 MB, free: 5.262 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.785 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.392/3.392, allocations: 0.49 GB / 0.7951 GB, free: 35.51 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.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.002355/0.002355, allocations: 70.48 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4243, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002542/0.4268, allocations: 1.297 MB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009709/0.4278, allocations: 0.5297 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.4278, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.4278, allocations: 3.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.4279, allocations: 7.922 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.4282, allocations: 103.6 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.4283, allocations: 19.86 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.4283, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.317e-05/0.4284, allocations: 15.88 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.4284, allocations: 4 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.4284, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.4287, allocations: 139.8 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.4287, allocations: 7.984 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.4287, allocations: 7.938 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.4289, allocations: 92 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4289, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4289, allocations: 4 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.4289, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 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.0003909/0.4293, allocations: 279.8 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4294, allocations: 8.031 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.4294, allocations: 30.75 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004761/0.4299, allocations: 32.89 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.43, allocations: 110.5 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.43, allocations: 8.375 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.43, allocations: 4.375 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.4302, allocations: 46.22 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4302, allocations: 3.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.4302, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4302, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.4303, allocations: 23.92 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.4305, allocations: 128.8 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.4306, allocations: 46.58 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.4307, allocations: 16.91 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.4307, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4308, allocations: 34.56 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.4308, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003279/0.4311, allocations: 85.48 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.4311, allocations: 51.41 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.4312, allocations: 93.86 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.4312, allocations: 25.7 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.4313, allocations: 80.14 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.4313, allocations: 15.88 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.4314, allocations: 13.72 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4315, allocations: 314.8 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.067e-05/0.4316, allocations: 16.11 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.968e-05/0.4316, allocations: 11.98 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.4318, allocations: 32.84 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4318, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001769/0.4319, allocations: 65.67 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.432, allocations: 15.86 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.432, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.432, allocations: 3.938 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.4321, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.4321, allocations: 7.984 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.4322, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.4322, allocations: 0 / 1.33 GB, free: 13.51 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 (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 9.286e-05/0.4323, allocations: 113.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.4323, allocations: 8.156 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.4323, allocations: 7.297 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4323, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4323, allocations: 7.984 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4323, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.4324, allocations: 120.8 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4324, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.4325, allocations: 7.984 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.4325, allocations: 7.938 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.4325, allocations: 7.984 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4325, allocations: 3.938 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4325, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.4328, allocations: 81.11 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.4328, allocations: 7.938 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.4328, allocations: 7.938 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.4329, allocations: 4 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.4329, allocations: 4.031 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.4329, allocations: 3.984 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.433, allocations: 79.28 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.433, allocations: 0 / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002121/0.4332, allocations: 15.94 kB / 1.33 GB, free: 12.96 MB / 1.029 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.0006025/0.4338, allocations: 0.6319 MB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.434, allocations: 36 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.434, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.477e-05/0.434, allocations: 11.98 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.4343, allocations: 15.98 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.4349, allocations: 158.1 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.737e-05/0.4349, allocations: 63.3 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.198e-05/0.435, allocations: 4 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.435, allocations: 19.42 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.435, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.4644, allocations: 2.169 MB / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.49, allocations: 4.062 kB / 1.333 GB, free: 9.906 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.688805253972532]