Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_9_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.009122/0.009122, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001599/0.001599, allocations: 188.6 kB / 16.67 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 62.89 kB / 0.9504 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2577, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003043/0.2608, allocations: 1.288 MB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.262, allocations: 0.5634 MB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.2621, allocations: 0 / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.2621, allocations: 3.938 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.2622, allocations: 7.922 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006053/0.2628, allocations: 95.56 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.126e-05/0.2629, allocations: 19.81 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.263, allocations: 11.92 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.263, allocations: 4 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.2631, allocations: 12 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.2631, allocations: 0 / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.2635, allocations: 135.8 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.2635, allocations: 11.94 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.2635, allocations: 4 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.2637, allocations: 90.66 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2637, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2637, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2638, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 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.0003945/0.2642, allocations: 340.3 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2642, allocations: 15.97 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.2642, allocations: 34.75 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004114/0.2647, allocations: 28.91 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.2648, allocations: 172.3 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.2648, allocations: 384 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.2648, allocations: 384 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.265, allocations: 50.23 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.265, allocations: 7.922 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.265, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2651, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.2652, allocations: 23.97 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.2654, allocations: 153.7 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.2655, allocations: 50.48 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.2656, allocations: 24.84 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.2656, allocations: 0 / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.2657, allocations: 30.56 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.2657, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003036/0.266, allocations: 81.53 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.266, allocations: 51.41 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.879e-05/0.2661, allocations: 93.86 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.2661, allocations: 25.7 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.2661, allocations: 84.14 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.2662, allocations: 11.84 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.2662, allocations: 17.83 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.2663, allocations: 314.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.597e-05/0.2664, allocations: 15.98 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.2665, allocations: 15.98 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.2666, allocations: 28.91 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2666, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001724/0.2668, allocations: 65.55 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2668, allocations: 9.5 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2668, allocations: 3.984 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2668, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.2669, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2669, allocations: 32 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.267, allocations: 15.98 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.267, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 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.77e-05/0.2671, allocations: 109.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.2671, allocations: 3.938 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.2672, allocations: 3.125 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2672, allocations: 0 / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2672, allocations: 4 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.2672, allocations: 7.984 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.2673, allocations: 153.7 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2673, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-05/0.2674, allocations: 7.984 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2674, allocations: 3.938 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2674, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2674, allocations: 3.938 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2674, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.2676, allocations: 92.95 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.2677, allocations: 85.09 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.2677, allocations: 7.938 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.2678, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.2678, allocations: 3.984 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.2678, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.2679, allocations: 79.31 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2679, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002039/0.2681, allocations: 12 kB / 1.092 GB, free: 13.15 MB / 0.8575 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.0004894/0.2686, allocations: 0.6405 MB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.2688, allocations: 27.98 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2688, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.2689, allocations: 15.97 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.2691, allocations: 12.12 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.2696, allocations: 152.2 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2698, allocations: 0.6806 MB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.342e-05/0.2699, allocations: 11.98 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.2699, allocations: 7.438 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.2699, allocations: 4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.286, allocations: 1.579 MB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.553, allocations: 5 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches