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.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.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.007182/0.007182, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001965/0.001965, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.561/2.561, allocations: 437.1 MB / 0.7106 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 75.88 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2611, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002193/0.2633, allocations: 1.278 MB / 1.167 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009048/0.2643, allocations: 0.5814 MB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.2643, allocations: 0 / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.2643, allocations: 0 / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.469e-05/0.2644, allocations: 15.91 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.2647, allocations: 87.58 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.584e-05/0.2648, allocations: 23.86 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.2648, allocations: 4 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/0.2649, allocations: 4 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.2649, allocations: 7.938 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.2649, allocations: 0 / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.2652, allocations: 147.7 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.795e-06/0.2652, allocations: 4 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.2652, allocations: 7.938 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.2654, allocations: 96.03 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2654, allocations: 0 / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2654, allocations: 0 / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.2655, allocations: 0 / 1.168 GB, free: 5 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00037/0.2658, allocations: 351.2 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2659, allocations: 8.031 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.2659, allocations: 30.75 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003713/0.2663, allocations: 28.91 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2664, allocations: 168.3 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.2664, allocations: 384 / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2664, allocations: 4.375 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.2666, allocations: 50.17 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2666, allocations: 3.938 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2666, allocations: 7.984 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2666, allocations: 0 / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.2667, allocations: 19.98 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.2669, allocations: 153.7 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.2671, allocations: 42.58 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.594e-05/0.2671, allocations: 24.84 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.2672, allocations: 0 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.2672, allocations: 34.56 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.2672, allocations: 0 / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002801/0.2675, allocations: 73.69 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.2675, allocations: 55.41 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.838e-05/0.2676, allocations: 93.86 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2676, allocations: 33.64 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.2677, allocations: 84.12 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.2677, allocations: 3.953 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.2677, allocations: 13.72 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2678, allocations: 318.8 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.2679, allocations: 15.97 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.593e-05/0.268, allocations: 11.98 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.2681, allocations: 24.84 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2681, allocations: 4 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001662/0.2683, allocations: 65.72 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2683, allocations: 7.938 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2683, allocations: 4 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2683, allocations: 7.938 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.2684, allocations: 7.984 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.2684, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.2685, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.2685, allocations: 8.031 kB / 1.17 GB, free: 3.039 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 (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 6.997e-05/0.2686, allocations: 109.8 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.2686, allocations: 3.938 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.2686, allocations: 15.11 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2687, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2687, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2687, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.2688, allocations: 161.6 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2688, allocations: 4 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.2689, allocations: 7.984 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2689, allocations: 4.125 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.2689, allocations: 4 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2689, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2689, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.2691, allocations: 93.08 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.2692, allocations: 81.05 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.2692, allocations: 3.938 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.2693, allocations: 7.984 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.2693, allocations: 3.938 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.2693, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.2693, allocations: 79.28 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2693, allocations: 0 / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002343/0.2696, allocations: 16.03 kB / 1.171 GB, free: 2.359 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.0004943/0.2701, allocations: 0.6396 MB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.2703, allocations: 35.94 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2703, allocations: 0 / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.2703, allocations: 15.98 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.2705, allocations: 4 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/0.2709, allocations: 148.2 kB / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.2712, allocations: 0.6768 MB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.754e-05/0.2713, allocations: 8 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.2713, allocations: 7.438 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of SimCode: time 2e-07/0.2713, allocations: 0 / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9512/1.222, allocations: 1.579 MB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/15.17, allocations: 11.77 kB / 1.174 GB, free: 15.29 MB / 0.9356 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=400 --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