Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.899/2.899, allocations: 472.7 MB / 0.7452 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 66.16 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2865, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003115/0.2897, allocations: 1.4 MB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009536/0.2907, allocations: 0.5998 MB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.2907, allocations: 0 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.2908, allocations: 7.938 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.2909, allocations: 7.938 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.2913, allocations: 103.5 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.384e-05/0.2914, allocations: 23.92 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.2915, allocations: 4 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.2916, allocations: 7.984 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.2916, allocations: 11.94 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.2916, allocations: 7.938 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.2919, allocations: 147.8 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.2919, allocations: 8 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.292, allocations: 11.92 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.2922, allocations: 96.05 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2922, allocations: 0 / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2922, allocations: 4 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.2922, allocations: 0 / 1.071 GB, free: 7.965 MB / 0.8262 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.0004789/0.2927, allocations: 359.3 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2927, allocations: 12.03 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/0.2932, allocations: 32.89 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2933, allocations: 164.4 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.2933, allocations: 384 / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.2933, allocations: 4.375 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.2936, allocations: 66.2 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2936, allocations: 192 / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2936, allocations: 7.938 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.2936, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.2939, allocations: 51.94 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.2943, allocations: 272.9 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.2946, allocations: 62.47 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.2947, allocations: 32.89 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.2947, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.2948, allocations: 34.56 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2948, allocations: 0 / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0005256/0.2953, allocations: 121.4 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2953, allocations: 59.47 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.2954, allocations: 97.86 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.2954, allocations: 25.7 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.2955, allocations: 88.08 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2955, allocations: 11.89 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.2955, allocations: 9.719 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2957, allocations: 314.8 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.2958, allocations: 35.97 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.2959, allocations: 27.97 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.2962, allocations: 52.8 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2962, allocations: 4.062 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003268/0.2965, allocations: 93.52 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2966, allocations: 4 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2966, allocations: 0 / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2966, allocations: 0 / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.2967, allocations: 15.97 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2968, allocations: 7.969 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.413e-05/0.2969, allocations: 7.984 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.2969, allocations: 7.984 kB / 1.073 GB, free: 5.695 MB / 0.8262 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.606e-05/0.297, allocations: 116.1 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.297, allocations: 4 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.297, allocations: 3.125 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.297, allocations: 4 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2971, allocations: 0 / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2971, allocations: 3.984 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.2972, allocations: 169.8 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2972, allocations: 0 / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.2974, allocations: 11.98 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2974, allocations: 3.984 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.2974, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2974, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2974, allocations: 7.922 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.2978, allocations: 191.3 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.2978, allocations: 77.11 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.2979, allocations: 0 / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.298, allocations: 15.95 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.298, allocations: 7.984 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.298, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.2981, allocations: 83.28 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2981, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002461/0.2983, allocations: 12 kB / 1.073 GB, free: 4.906 MB / 0.8262 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.0001613/0.2985, allocations: 108.9 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003191/0.2988, allocations: 63.88 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2988, allocations: 0 / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.299, allocations: 27.97 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.2993, allocations: 17.64 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.2997, allocations: 126.7 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2999, allocations: 0.6768 MB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.837e-05/0.3, allocations: 11.94 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.3001, allocations: 15.42 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of SimCode: time 4.4e-07/0.3001, allocations: 0 / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of Templates: time 0.002854/0.3029, allocations: 0.7883 MB / 1.075 GB, free: 3.016 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches