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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_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_9_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.001702/0.001702, allocations: 100.1 kB / 15.88 MB, free: 12 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.002044/0.002045, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.569/1.569, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.001581, allocations: 71.88 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.6012, allocations: 140.3 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002202/0.6034, allocations: 1.34 MB / 0.9509 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008099/0.6043, allocations: 0.5801 MB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.6043, allocations: 0 / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.6043, allocations: 3.938 kB / 0.9515 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.6044, allocations: 12.94 kB / 0.9515 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.6047, allocations: 75.75 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.867e-05/0.6047, allocations: 24.55 kB / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.6048, allocations: 5.438 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.6048, allocations: 8.188 kB / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.6049, allocations: 4.031 kB / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.6049, allocations: 0 / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.6052, allocations: 153.4 kB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.646e-06/0.6052, allocations: 0 / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.6052, allocations: 16.05 kB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.6053, allocations: 60.28 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6054, allocations: 1.375 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6054, allocations: 0 / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.6054, allocations: 0 / 0.9518 GB, free: 7.477 MB / 0.7169 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.0003057/0.6057, allocations: 345.1 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.6057, allocations: 9.625 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000435/0.6062, allocations: 32.02 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.274e-05/0.6062, allocations: 165.7 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.6063, allocations: 1.75 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.6063, allocations: 384 / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.6064, allocations: 54.41 kB / 0.9524 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.6064, allocations: 4.125 kB / 0.9524 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.6065, allocations: 5.312 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.6065, allocations: 0 / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.6066, allocations: 24.36 kB / 0.9524 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.6067, allocations: 161.7 kB / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.6069, allocations: 39.81 kB / 0.9526 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.802e-05/0.607, allocations: 23.39 kB / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.607, allocations: 1.281 kB / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.607, allocations: 35.84 kB / 0.9527 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.607, allocations: 3.938 kB / 0.9527 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003038/0.6073, allocations: 72.03 kB / 0.9527 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.6074, allocations: 60.97 kB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.974e-05/0.6074, allocations: 97.78 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.6074, allocations: 25.7 kB / 0.9529 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/0.6075, allocations: 80.14 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.6075, allocations: 5.531 kB / 0.953 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.6075, allocations: 16.67 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.6076, allocations: 315.9 kB / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-05/0.6076, allocations: 18.2 kB / 0.9533 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.6077, allocations: 10.44 kB / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.6078, allocations: 37.73 kB / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6078, allocations: 0 / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001586/0.608, allocations: 64.83 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.608, allocations: 4.125 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.608, allocations: 3.938 kB / 0.9534 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.608, allocations: 1.125 kB / 0.9534 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.6082, allocations: 9.391 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.6082, allocations: 0 / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.6082, allocations: 1.875 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.6082, allocations: 1.031 kB / 0.9535 GB, free: 5.73 MB / 0.7169 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 5.005e-05/0.6083, allocations: 118.8 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.6083, allocations: 2.125 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.6084, allocations: 7.625 kB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6084, allocations: 0.5625 kB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6084, allocations: 1.062 kB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6084, allocations: 3.938 kB / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.085e-05/0.6085, allocations: 162.6 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6085, allocations: 0 / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.6086, allocations: 12.2 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6086, allocations: 1.469 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.6086, allocations: 3.938 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6086, allocations: 1.219 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6086, allocations: 0 / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.6088, allocations: 88 kB / 0.9538 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.6088, allocations: 82.41 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.6088, allocations: 5.719 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.215e-05/0.6089, allocations: 1.062 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.6089, allocations: 1.125 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.6089, allocations: 1.438 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.221e-05/0.609, allocations: 84.89 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.609, allocations: 0 / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000209/0.6092, allocations: 10.97 kB / 0.954 GB, free: 5.109 MB / 0.7169 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.0001474/0.6093, allocations: 124.5 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.6095, allocations: 24.08 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6095, allocations: 0 / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.6096, allocations: 16.11 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.6098, allocations: 15.98 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.6102, allocations: 149.4 kB / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.165e-05/0.6103, allocations: 0.676 MB / 0.955 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.6103, allocations: 14.08 kB / 0.955 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.6103, allocations: 1.188 kB / 0.955 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of Templates: time 0.002028/0.6124, allocations: 0.7789 MB / 0.9558 GB, free: 3.719 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (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 & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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