Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 107.8 kB / 16.41 MB, free: 6.508 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.001409/0.001409, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.5/1.5, 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 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.03 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7989, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002355/0.8013, allocations: 1.41 MB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000443/0.8017, allocations: 200.8 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.8018, allocations: 1.062 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.8018, allocations: 0.6094 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.772e-05/0.8019, allocations: 5.734 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.8021, allocations: 23.5 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.8022, allocations: 28.67 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.8023, allocations: 8.25 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.131e-05/0.8023, allocations: 5.172 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.409e-05/0.8024, allocations: 14.05 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.8024, allocations: 6.125 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.8025, allocations: 28.94 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.8025, allocations: 2.641 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.8025, allocations: 11.83 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.8027, allocations: 37.36 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8027, allocations: 4 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8027, allocations: 0 / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.8027, allocations: 0.7812 kB / 1.09 GB, free: 4.332 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003528/0.803, allocations: 339.6 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.8031, allocations: 9.594 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.8032, allocations: 7.094 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.8033, allocations: 163.6 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.8033, allocations: 1.734 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.8033, allocations: 1.5 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.8035, allocations: 57.12 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.8035, allocations: 5 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.8035, allocations: 4.641 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.8035, allocations: 0.8438 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.8037, allocations: 36.33 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.804, allocations: 249.2 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.8041, allocations: 40.72 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.8042, allocations: 23.78 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.8042, allocations: 1.125 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.8043, allocations: 31.08 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.8043, allocations: 5 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003831/0.8046, allocations: 84.38 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.8047, allocations: 51.41 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.8047, allocations: 102.1 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.8048, allocations: 25.7 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.8048, allocations: 94.12 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.8048, allocations: 1.953 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.8049, allocations: 15.8 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.712e-05/0.8049, allocations: 317.7 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/0.805, allocations: 13.11 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.029e-05/0.8051, allocations: 19.23 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.8053, allocations: 45.19 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8053, allocations: 0 / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.8055, allocations: 71.52 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.8055, allocations: 5.188 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8055, allocations: 0.6562 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.8055, allocations: 0.9375 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.8056, allocations: 9.359 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.8056, allocations: 0 / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.488e-05/0.8057, allocations: 14.98 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.8057, allocations: 0.9062 kB / 1.092 GB, free: 2.617 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 4.896e-05/0.8058, allocations: 116.2 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.8058, allocations: 1.891 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.806, allocations: 79.48 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.806, allocations: 0 / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8061, allocations: 5.906 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8061, allocations: 0 / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.8062, allocations: 164.9 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8062, allocations: 0.6875 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/0.8063, allocations: 9.594 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.8063, allocations: 1.391 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.8063, allocations: 0.8438 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.8063, allocations: 3.938 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8063, allocations: 1.672 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.8065, allocations: 173.3 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.8066, allocations: 82.78 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.8066, allocations: 1.547 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.8067, allocations: 10.12 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.8067, allocations: 7.406 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.8067, allocations: 0.6875 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.058e-05/0.8067, allocations: 83.97 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8068, allocations: 3.938 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002166/0.807, allocations: 5.375 kB / 1.093 GB, free: 1.906 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 (3): * Single equations (assignments): 3 * 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 8.58e-05/0.8071, allocations: 97.38 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.8073, allocations: 37.25 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8073, allocations: 4 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.296e-05/0.8074, allocations: 26 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.8077, allocations: 11.67 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.8079, allocations: 142 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.484e-05/0.808, allocations: 0.6762 MB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.8081, allocations: 10.55 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.8081, allocations: 0 / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of Templates: time 0.001788/0.8099, allocations: 0.5767 MB / 1.094 GB, free: 0.9258 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches