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 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.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.000992/0.000992, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.008648/0.008648, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.934/2.934, allocations: 462.6 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004133, allocations: 9.125 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3897, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002006/0.3918, allocations: 1.135 MB / 1.06 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3929, allocations: 0.6039 MB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.3929, allocations: 0 / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.3929, allocations: 3.938 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.393, allocations: 0 / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.3934, allocations: 83.64 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.619e-05/0.3935, allocations: 31.86 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.3936, allocations: 0 / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.3937, allocations: 8 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.3937, allocations: 19.91 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.3938, allocations: 0 / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.3941, allocations: 151.7 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.3941, allocations: 0 / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.3942, allocations: 41.62 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3944, allocations: 96.03 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3944, allocations: 4 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3944, allocations: 0 / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3944, allocations: 0 / 1.061 GB, free: 3.297 MB / 0.8106 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.0005088/0.395, allocations: 363.4 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.395, allocations: 12.03 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/0.3955, allocations: 28.91 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.3956, allocations: 176.2 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3957, allocations: 4.375 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3957, allocations: 384 / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.3959, allocations: 70.2 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.396, allocations: 192 / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.396, allocations: 3.938 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.396, allocations: 0 / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.3963, allocations: 63.94 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.3968, allocations: 284.7 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.3971, allocations: 62.48 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.3973, allocations: 40.89 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3973, allocations: 0 / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.3973, allocations: 34.55 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.3973, allocations: 0 / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0007232/0.3981, allocations: 133.5 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3981, allocations: 51.41 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3982, allocations: 105.8 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3983, allocations: 29.83 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.3983, allocations: 88.06 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.3984, allocations: 7.844 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.3984, allocations: 9.719 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3985, allocations: 318.8 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.3987, allocations: 27.97 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.399, allocations: 35.97 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.3993, allocations: 68.86 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3994, allocations: 0 / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003681/0.3997, allocations: 105.5 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3998, allocations: 4 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3998, allocations: 3.984 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3998, allocations: 0 / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.4, allocations: 19.97 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.4001, allocations: 15.94 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.4001, allocations: 7.984 kB / 1.063 GB, free: 0.9375 MB / 0.8106 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 9.477e-05/0.4002, allocations: 113.8 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.4002, allocations: 0 / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.4003, allocations: 3.125 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4003, allocations: 4 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4003, allocations: 0 / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4003, allocations: 7.938 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.4005, allocations: 165.6 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4005, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.4007, allocations: 23.97 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4007, allocations: 0 / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4007, allocations: 0 / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4007, allocations: 0 / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4007, allocations: 4 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.4011, allocations: 199.4 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.4013, allocations: 85.14 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.4013, allocations: 0 / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.4015, allocations: 11.98 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.4016, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.4016, allocations: 3.984 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.617e-05/0.4017, allocations: 83.28 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of sort global known variables: time 5.81e-07/0.4017, allocations: 3.938 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000394/0.4021, allocations: 12 kB / 1.064 GB, free: 144 kB / 0.8106 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.0002523/0.4023, allocations: 115.2 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003991/0.4027, allocations: 71.88 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4028, allocations: 0 / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.4029, allocations: 31.97 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.4032, allocations: 13.14 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.4037, allocations: 144.6 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.404, allocations: 0.677 MB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.589e-05/0.4042, allocations: 11.94 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.4042, allocations: 7.438 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.4042, allocations: 0 / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of Templates: time 0.004045/0.4083, allocations: 0.7069 MB / 1.065 GB, free: 14.31 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