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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007729/0.000773, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00447/0.00447, allocations: 172 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003451, allocations: 8.188 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6132/0.6136, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001556/0.6152, allocations: 1.015 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.6163, allocations: 0.5618 MB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.904e-05/0.6164, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.6164, allocations: 3.938 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.637e-05/0.6165, allocations: 3.984 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.6169, allocations: 83.64 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.77e-05/0.617, allocations: 23.8 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.617, allocations: 4 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.6171, allocations: 4 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.766e-05/0.6171, allocations: 8 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.6171, allocations: 7.938 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.6175, allocations: 147.7 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.6175, allocations: 7.938 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.6176, allocations: 29.7 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.6178, allocations: 90.08 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6178, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6178, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.6178, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 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.0004347/0.6183, allocations: 355.5 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.6183, allocations: 8.031 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.6184, allocations: 34.69 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.6188, allocations: 28.89 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.6189, allocations: 168.3 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.619, allocations: 384 / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.619, allocations: 8.375 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.6192, allocations: 50.22 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6192, allocations: 3.938 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6192, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.6192, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.6193, allocations: 19.98 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.6195, allocations: 157.7 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.6197, allocations: 50.52 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/0.6198, allocations: 16.91 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.6198, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.6198, allocations: 38.56 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.6198, allocations: 3.938 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003141/0.6202, allocations: 77.5 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.6202, allocations: 59.34 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.6203, allocations: 97.84 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.6203, allocations: 25.7 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.6203, allocations: 80.14 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.6204, allocations: 4.125 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.6204, allocations: 13.72 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6205, allocations: 310.8 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.08e-05/0.6206, allocations: 15.98 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.687e-05/0.6207, allocations: 11.98 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.6208, allocations: 32.91 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6208, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001751/0.621, allocations: 61.52 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.621, allocations: 11.94 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.621, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.6211, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/0.6212, allocations: 11.92 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6212, allocations: 4.031 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.6213, allocations: 4 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.6213, allocations: 3.984 kB / 1.027 GB, free: 11.9 MB / 0.7794 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 8.14e-05/0.6214, allocations: 105.8 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.6214, allocations: 7.938 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.6214, allocations: 7.125 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6214, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6214, allocations: 4 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.6214, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.6216, allocations: 153.7 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6216, allocations: 4 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.6217, allocations: 7.984 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.6217, allocations: 3.938 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.6217, allocations: 3.984 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.6218, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6218, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.622, allocations: 93.05 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.23e-05/0.6221, allocations: 85.03 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.6221, allocations: 7.938 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.6221, allocations: 192 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.6222, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.6222, allocations: 11.97 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.6222, allocations: 83.31 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6222, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002109/0.6224, allocations: 16 kB / 1.027 GB, free: 11.22 MB / 0.7794 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.0005512/0.623, allocations: 0.6396 MB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001744/0.6232, allocations: 31.91 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6232, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.648e-05/0.6233, allocations: 15.98 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.6235, allocations: 8.859 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.624, allocations: 164.8 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.6243, allocations: 0.6692 MB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.854e-05/0.6244, allocations: 11.94 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.6245, allocations: 23.36 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.6245, allocations: 0 / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.6369, allocations: 1.362 MB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.6371, allocations: 224.4 kB / 1.03 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.382, allocations: 2.188 kB / 1.03 GB, free: 8.137 MB / 0.7794 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches