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.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.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.001782/0.001782, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002016/0.002016, allocations: 189 kB / 16.25 MB, free: 6.152 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.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.47/2.47, allocations: 390.2 MB / 0.6643 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 71.83 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9099/0.9124, allocations: 140.3 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003171/0.9156, allocations: 1.348 MB / 0.9504 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009482/0.9166, allocations: 0.5629 MB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.9166, allocations: 0 / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.9167, allocations: 5.359 kB / 0.951 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.9168, allocations: 5.312 kB / 0.951 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.9173, allocations: 83.16 kB / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.9174, allocations: 29.47 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.383e-05/0.9175, allocations: 1.375 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.9176, allocations: 8.062 kB / 0.9511 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.9176, allocations: 6.75 kB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.9176, allocations: 1.375 kB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.918, allocations: 152.8 kB / 0.9512 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.9181, allocations: 4 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.9181, allocations: 8.125 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.9184, allocations: 81.81 kB / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.9184, allocations: 4 kB / 0.9513 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.235e-06/0.9184, allocations: 5.031 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.9185, allocations: 0 / 0.9513 GB, free: 7.406 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.0005495/0.919, allocations: 352.7 kB / 0.9517 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.9191, allocations: 10.28 kB / 0.9517 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.9196, allocations: 27.89 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.9198, allocations: 165.5 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.9198, allocations: 9.562 kB / 0.9519 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.9198, allocations: 1.844 kB / 0.9519 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.92, allocations: 49.62 kB / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.92, allocations: 192 / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.92, allocations: 3.938 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.9201, allocations: 5.594 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.9202, allocations: 23.16 kB / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.9204, allocations: 161.7 kB / 0.9521 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.9206, allocations: 41.09 kB / 0.9522 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.601e-05/0.9207, allocations: 15.91 kB / 0.9522 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.9207, allocations: 0 / 0.9522 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.9208, allocations: 43.84 kB / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.9208, allocations: 0 / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003441/0.9211, allocations: 76.75 kB / 0.9523 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.9212, allocations: 51.41 kB / 0.9523 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.9212, allocations: 97.69 kB / 0.9524 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.9213, allocations: 31.08 kB / 0.9525 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.9213, allocations: 80.14 kB / 0.9525 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.9213, allocations: 5.344 kB / 0.9525 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.9214, allocations: 16.02 kB / 0.9526 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.369e-05/0.9215, allocations: 312 kB / 0.9528 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.9215, allocations: 14.92 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.9216, allocations: 10.25 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.9217, allocations: 37.64 kB / 0.9529 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.9218, allocations: 0 / 0.9529 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001781/0.9219, allocations: 67.73 kB / 0.953 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.922, allocations: 4.906 kB / 0.953 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.922, allocations: 5.312 kB / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.922, allocations: 4.031 kB / 0.953 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.9222, allocations: 13.28 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9222, allocations: 0 / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.9223, allocations: 2.75 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.9223, allocations: 0 / 0.953 GB, free: 5.652 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 7.052e-05/0.9223, allocations: 119.2 kB / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.9224, allocations: 2.344 kB / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.9224, allocations: 11.06 kB / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9224, allocations: 1.156 kB / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9224, allocations: 0 / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9225, allocations: 1.281 kB / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.9226, allocations: 157.2 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9226, allocations: 0 / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.856e-05/0.9227, allocations: 8.766 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9227, allocations: 1.469 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.9227, allocations: 3.938 kB / 0.9533 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.9227, allocations: 9.375 kB / 0.9533 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.9227, allocations: 3.984 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.9229, allocations: 79.67 kB / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.923, allocations: 82.5 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.923, allocations: 5.344 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.9231, allocations: 5.344 kB / 0.9535 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.9231, allocations: 5.375 kB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.9231, allocations: 5.062 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.679e-05/0.9231, allocations: 81.3 kB / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.2e-07/0.9231, allocations: 0 / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002182/0.9234, allocations: 11.31 kB / 0.9536 GB, free: 5.027 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.0001983/0.9236, allocations: 115.7 kB / 0.9537 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.9238, allocations: 31.91 kB / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9238, allocations: 0 / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.9239, allocations: 16.48 kB / 0.9537 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.9241, allocations: 7.969 kB / 0.9537 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.9246, allocations: 128.3 kB / 0.9539 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.9248, allocations: 0.6763 MB / 0.9545 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.108e-05/0.9249, allocations: 7.25 kB / 0.9545 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.9249, allocations: 16.92 kB / 0.9545 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.9249, allocations: 0 / 0.9545 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of Templates: time 0.003983/0.9289, allocations: 0.7388 MB / 0.9553 GB, free: 3.664 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/jenkins/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