Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001814/0.001815, allocations: 187 kB / 17.34 MB, free: 5.719 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7354 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 68.12 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8782/0.8796, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002463/0.8822, allocations: 1.287 MB / 1.21 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.8833, allocations: 0.5686 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.8834, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.8834, allocations: 3.984 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.8835, allocations: 15.86 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.884, allocations: 87.58 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.19e-05/0.8841, allocations: 23.86 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.8842, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.8842, allocations: 8 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.8843, allocations: 7.984 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.8843, allocations: 11.94 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.8846, allocations: 135.7 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.8847, allocations: 3.984 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.8847, allocations: 8 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.8849, allocations: 91.48 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.8849, allocations: 0 / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8849, allocations: 0 / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.8849, allocations: 0 / 1.211 GB, free: 11.36 MB / 0.9356 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.0004267/0.8854, allocations: 353.4 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.8854, allocations: 12.03 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000443/0.8859, allocations: 32.8 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.886, allocations: 160.4 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.886, allocations: 8.359 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.886, allocations: 384 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.8862, allocations: 54.16 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.8862, allocations: 4.188 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.8863, allocations: 3.938 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8863, allocations: 0 / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.8864, allocations: 19.98 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.8866, allocations: 161.6 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.8868, allocations: 50.58 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.864e-05/0.8868, allocations: 12.91 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.8869, allocations: 0 / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.8869, allocations: 42.5 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.8869, allocations: 0 / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.8872, allocations: 77.59 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.8873, allocations: 51.41 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.8874, allocations: 97.84 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.8874, allocations: 25.7 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.8874, allocations: 80.14 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.8875, allocations: 7.906 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.8875, allocations: 13.84 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8877, allocations: 318.8 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.8877, allocations: 12 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.8878, allocations: 7.984 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.8879, allocations: 40.77 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8879, allocations: 4.062 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001806/0.8881, allocations: 53.67 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.8882, allocations: 4 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8882, allocations: 7.938 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8882, allocations: 0 / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.8883, allocations: 7.984 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.8883, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.8884, allocations: 8.031 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.8884, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 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 7.514e-05/0.8885, allocations: 109.8 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.8885, allocations: 3.984 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.8885, allocations: 15 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.8885, allocations: 3.938 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8886, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.8886, allocations: 4 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.8887, allocations: 157.6 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8887, allocations: 0 / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.8888, allocations: 7.984 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8888, allocations: 7.938 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.8888, allocations: 3.938 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8888, allocations: 0 / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8888, allocations: 0 / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.889, allocations: 89.09 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.8891, allocations: 77.11 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.8891, allocations: 7.922 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.078e-05/0.8892, allocations: 4 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.8892, allocations: 0 / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.8892, allocations: 4 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.8893, allocations: 87.48 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8893, allocations: 7.938 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002148/0.8895, allocations: 15.98 kB / 1.213 GB, free: 8.746 MB / 0.9356 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.0001835/0.8897, allocations: 111.2 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.8899, allocations: 27.97 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8899, allocations: 0 / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.55e-05/0.89, allocations: 20.05 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.8902, allocations: 9.859 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.8906, allocations: 140.2 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.8909, allocations: 0.6729 MB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.8909, allocations: 11.42 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.8909, allocations: 4.062 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of Templates: time 0.002236/0.8932, allocations: 0.7815 MB / 1.215 GB, free: 6.91 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches