Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.1-maint.10.0.x/package.mo", uses=false) 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.X_pSatpphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.00179/0.00179, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001109/0.001109, allocations: 192.6 kB / 16.25 MB, free: 6.629 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.89 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7882/0.7895, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002604/0.7922, allocations: 1.356 MB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1351/0.9273, allocations: 145.5 MB / 1.16 GB, free: 15.31 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.9273, allocations: 0 / 1.16 GB, free: 15.31 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.9274, allocations: 0 / 1.16 GB, free: 15.31 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.9274, allocations: 7.938 kB / 1.16 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.9279, allocations: 111.5 kB / 1.16 GB, free: 15.2 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.718e-05/0.9279, allocations: 19.88 kB / 1.16 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.928, allocations: 4 kB / 1.16 GB, free: 15.17 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.326e-05/0.928, allocations: 11.92 kB / 1.16 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.039e-05/0.9281, allocations: 7.984 kB / 1.16 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.9281, allocations: 0 / 1.16 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.9284, allocations: 175.7 kB / 1.161 GB, free: 14.98 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.777e-06/0.9285, allocations: 0 / 1.161 GB, free: 14.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.9285, allocations: 11.94 kB / 1.161 GB, free: 14.97 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.9287, allocations: 114 kB / 1.161 GB, free: 14.86 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.9287, allocations: 0 / 1.161 GB, free: 14.86 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9287, allocations: 0 / 1.161 GB, free: 14.86 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.9287, allocations: 0 / 1.161 GB, free: 14.86 MB / 0.92 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.0002931/0.929, allocations: 351.5 kB / 1.161 GB, free: 14.47 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.9291, allocations: 8.031 kB / 1.161 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.9291, allocations: 30.75 kB / 1.161 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005313/0.9296, allocations: 44.89 kB / 1.161 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.766e-05/0.9297, allocations: 172 kB / 1.161 GB, free: 14.17 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.9298, allocations: 0 / 1.161 GB, free: 14.17 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.9298, allocations: 4 kB / 1.161 GB, free: 14.17 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.9299, allocations: 45.59 kB / 1.161 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.9299, allocations: 4 kB / 1.161 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.93, allocations: 4 kB / 1.161 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.93, allocations: 3.938 kB / 1.161 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.9301, allocations: 15.98 kB / 1.161 GB, free: 14.09 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.9304, allocations: 252.9 kB / 1.162 GB, free: 13.79 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.9305, allocations: 22.58 kB / 1.162 GB, free: 13.76 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.9305, allocations: 12.86 kB / 1.162 GB, free: 13.75 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.9305, allocations: 7.938 kB / 1.162 GB, free: 13.74 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.9305, allocations: 42.56 kB / 1.162 GB, free: 13.69 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9305, allocations: 0 / 1.162 GB, free: 13.69 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000128/0.9307, allocations: 37.69 kB / 1.162 GB, free: 13.64 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.9307, allocations: 51.41 kB / 1.162 GB, free: 13.58 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.9308, allocations: 117.8 kB / 1.162 GB, free: 13.46 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.9309, allocations: 29.83 kB / 1.162 GB, free: 13.42 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.9309, allocations: 87.98 kB / 1.162 GB, free: 13.33 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.9309, allocations: 3.984 kB / 1.162 GB, free: 13.33 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.931, allocations: 25.61 kB / 1.162 GB, free: 13.3 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.9311, allocations: 314.8 kB / 1.162 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.9311, allocations: 7.984 kB / 1.162 GB, free: 12.97 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.9312, allocations: 16.11 kB / 1.162 GB, free: 12.96 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.9313, allocations: 24.94 kB / 1.162 GB, free: 12.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9313, allocations: 0 / 1.162 GB, free: 12.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000177/0.9315, allocations: 61.66 kB / 1.162 GB, free: 12.86 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.9315, allocations: 4 kB / 1.162 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.9315, allocations: 0 / 1.162 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.9315, allocations: 0 / 1.162 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.9316, allocations: 11.98 kB / 1.162 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.9316, allocations: 4 kB / 1.163 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.9318, allocations: 7.938 kB / 1.163 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.9318, allocations: 11.98 kB / 1.163 GB, free: 12.82 MB / 0.92 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 (3): * Single equations (assignments): 3 * 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 5.905e-05/0.9319, allocations: 110.3 kB / 1.163 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.9319, allocations: 0 / 1.163 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.9319, allocations: 3.125 kB / 1.163 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9319, allocations: 4 kB / 1.163 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.9319, allocations: 4 kB / 1.163 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.9319, allocations: 3.938 kB / 1.163 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.9321, allocations: 153.7 kB / 1.163 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9321, allocations: 0 / 1.163 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.9321, allocations: 7.922 kB / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9321, allocations: 4 kB / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.9321, allocations: 0 / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9321, allocations: 0 / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.9321, allocations: 0 / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.159e-05/0.9322, allocations: 135.5 kB / 1.163 GB, free: 12.33 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.9323, allocations: 89 kB / 1.163 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.9323, allocations: 0 / 1.163 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.84e-05/0.9324, allocations: 7.938 kB / 1.163 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.9324, allocations: 7.938 kB / 1.163 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.9324, allocations: 3.938 kB / 1.163 GB, free: 12.21 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.09e-05/0.9325, allocations: 87.27 kB / 1.163 GB, free: 12.12 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9325, allocations: 4.031 kB / 1.163 GB, free: 12.12 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002306/0.9328, allocations: 16 kB / 1.163 GB, free: 12.1 MB / 0.92 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.0003516/0.9331, allocations: 0.6734 MB / 1.164 GB, free: 11.4 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.9332, allocations: 27.95 kB / 1.164 GB, free: 11.38 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9333, allocations: 4 kB / 1.164 GB, free: 11.37 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.9333, allocations: 4 kB / 1.164 GB, free: 11.37 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.9336, allocations: 15.92 kB / 1.164 GB, free: 11.35 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.9339, allocations: 152.8 kB / 1.164 GB, free: 11.16 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.9341, allocations: 0.6807 MB / 1.165 GB, free: 10.46 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.307e-05/0.9342, allocations: 8 kB / 1.165 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.9342, allocations: 7.438 kB / 1.165 GB, free: 10.44 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.9343, allocations: 0 / 1.165 GB, free: 10.44 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1854/1.12, allocations: 1.489 MB / 1.166 GB, free: 9.094 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/1.12, allocations: 223 kB / 1.166 GB, free: 8.836 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.787, allocations: 0 / 1.166 GB, free: 8.836 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches