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.007972/0.007978, allocations: 104.2 kB / 15.74 MB, free: 6.035 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.001929/0.001929, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.543/2.543, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.12 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8064/0.8077, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002132/0.8099, allocations: 1.304 MB / 1.167 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1525/0.9624, allocations: 147.6 MB / 1.312 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.9625, allocations: 0 / 1.312 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.9625, allocations: 0 / 1.312 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.9626, allocations: 11.91 kB / 1.312 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005813/0.9632, allocations: 115.4 kB / 1.312 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.9633, allocations: 19.92 kB / 1.312 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.058e-05/0.9634, allocations: 4 kB / 1.312 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.9634, allocations: 8 kB / 1.312 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.9635, allocations: 7.938 kB / 1.312 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.9635, allocations: 0 / 1.312 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.964, allocations: 175.6 kB / 1.312 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.964, allocations: 3.984 kB / 1.312 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.964, allocations: 15.94 kB / 1.312 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.9643, allocations: 110 kB / 1.312 GB, free: 13.81 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.9644, allocations: 0 / 1.312 GB, free: 13.81 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9644, allocations: 0 / 1.312 GB, free: 13.81 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.9644, allocations: 4 kB / 1.312 GB, free: 13.8 MB / 1.045 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.0004258/0.9648, allocations: 351.4 kB / 1.312 GB, free: 13.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.9649, allocations: 8.922 kB / 1.312 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.9649, allocations: 30.75 kB / 1.312 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006089/0.9655, allocations: 32.89 kB / 1.312 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.9657, allocations: 172.1 kB / 1.313 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.9657, allocations: 3.984 kB / 1.313 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.9657, allocations: 11.92 kB / 1.313 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.9659, allocations: 41.67 kB / 1.313 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.9659, allocations: 0 / 1.313 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.9659, allocations: 0 / 1.313 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.9659, allocations: 4 kB / 1.313 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.9661, allocations: 23.97 kB / 1.313 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.9665, allocations: 252.8 kB / 1.313 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.95e-05/0.9666, allocations: 26.52 kB / 1.313 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.9666, allocations: 12.91 kB / 1.313 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.9666, allocations: 0 / 1.313 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.9667, allocations: 34.56 kB / 1.313 GB, free: 12.65 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 2.324e-06/0.9667, allocations: 0 / 1.313 GB, free: 12.65 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.9668, allocations: 49.55 kB / 1.313 GB, free: 12.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.9669, allocations: 51.41 kB / 1.313 GB, free: 12.53 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.967, allocations: 117.8 kB / 1.313 GB, free: 12.41 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.9671, allocations: 25.7 kB / 1.313 GB, free: 12.38 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.9671, allocations: 92.02 kB / 1.313 GB, free: 12.28 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.418e-06/0.9671, allocations: 12.02 kB / 1.313 GB, free: 12.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.9672, allocations: 17.7 kB / 1.313 GB, free: 12.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.9673, allocations: 314.8 kB / 1.314 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.9674, allocations: 11.98 kB / 1.314 GB, free: 11.92 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.9674, allocations: 7.984 kB / 1.314 GB, free: 11.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.59e-05/0.9675, allocations: 24.84 kB / 1.314 GB, free: 11.88 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9675, allocations: 4 kB / 1.314 GB, free: 11.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001885/0.9677, allocations: 53.67 kB / 1.314 GB, free: 11.82 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.9678, allocations: 8 kB / 1.314 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.9678, allocations: 0 / 1.314 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.9678, allocations: 0 / 1.314 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.9679, allocations: 15.92 kB / 1.314 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.9679, allocations: 0 / 1.314 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.9681, allocations: 15.92 kB / 1.314 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.9681, allocations: 0 / 1.314 GB, free: 11.78 MB / 1.045 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 7.995e-05/0.9682, allocations: 113.8 kB / 1.314 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.9682, allocations: 3.906 kB / 1.314 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.9682, allocations: 7.109 kB / 1.314 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.9682, allocations: 0 / 1.314 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.9682, allocations: 336 / 1.314 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.9683, allocations: 7.938 kB / 1.314 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.9684, allocations: 149.7 kB / 1.314 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.9684, allocations: 12 kB / 1.314 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.9685, allocations: 0 / 1.314 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.9685, allocations: 3.984 kB / 1.314 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.9685, allocations: 4 kB / 1.314 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9685, allocations: 0 / 1.314 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9685, allocations: 0 / 1.314 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.9686, allocations: 139.4 kB / 1.314 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.9687, allocations: 77.11 kB / 1.314 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.9687, allocations: 8.031 kB / 1.314 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.9688, allocations: 7.875 kB / 1.314 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.9688, allocations: 3.938 kB / 1.314 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.9688, allocations: 4 kB / 1.314 GB, free: 11.15 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.154e-05/0.9689, allocations: 95.25 kB / 1.314 GB, free: 11.06 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9689, allocations: 0 / 1.314 GB, free: 11.06 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002573/0.9692, allocations: 12 kB / 1.314 GB, free: 11.05 MB / 1.045 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.0004601/0.9697, allocations: 0.6774 MB / 1.315 GB, free: 10.34 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.9698, allocations: 19.92 kB / 1.315 GB, free: 10.32 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.9698, allocations: 4 kB / 1.315 GB, free: 10.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.428e-05/0.9699, allocations: 12.02 kB / 1.315 GB, free: 10.31 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.9702, allocations: 7.938 kB / 1.315 GB, free: 10.3 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.9707, allocations: 156.8 kB / 1.315 GB, free: 10.11 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.9711, allocations: 0.6729 MB / 1.316 GB, free: 9.41 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.055e-05/0.9711, allocations: 4.062 kB / 1.316 GB, free: 9.406 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.9712, allocations: 19.36 kB / 1.316 GB, free: 9.387 MB / 1.045 GB Notification: Performance of SimCode: time 2.1e-07/0.9712, allocations: 0 / 1.316 GB, free: 9.387 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.9903, allocations: 1.597 MB / 1.318 GB, free: 7.906 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.646, allocations: 13.12 kB / 1.318 GB, free: 7.898 MB / 1.045 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