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.0009815/0.0009815, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001242/0.001242, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.289 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.43/2.43, allocations: 390.9 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003422, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7625/0.7628, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001332/0.7642, allocations: 1.005 MB / 0.9554 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.7651, allocations: 0.5272 MB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.7651, allocations: 3.938 kB / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.7651, allocations: 0 / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.7652, allocations: 9.891 kB / 0.9559 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.7656, allocations: 82.86 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.7656, allocations: 15.81 kB / 0.956 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.7657, allocations: 1.156 kB / 0.956 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.7658, allocations: 12.23 kB / 0.9561 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.7658, allocations: 3.719 kB / 0.9561 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.7659, allocations: 3.984 kB / 0.9561 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.7662, allocations: 145 kB / 0.9562 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.7662, allocations: 4 kB / 0.9562 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.7662, allocations: 32.14 kB / 0.9562 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.7664, allocations: 68.17 kB / 0.9563 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.7664, allocations: 0 / 0.9563 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7664, allocations: 0.875 kB / 0.9563 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.7664, allocations: 0 / 0.9563 GB, free: 6.281 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.0003119/0.7667, allocations: 352 kB / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.7667, allocations: 9.625 kB / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/0.7671, allocations: 23.41 kB / 0.9567 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.236e-05/0.7672, allocations: 168.1 kB / 0.9568 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.7672, allocations: 0.9688 kB / 0.9568 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.7672, allocations: 5.188 kB / 0.9568 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.7674, allocations: 44.7 kB / 0.9569 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.7674, allocations: 0.9375 kB / 0.9569 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.7674, allocations: 0 / 0.9569 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.7674, allocations: 7.938 kB / 0.9569 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.7676, allocations: 28.72 kB / 0.9569 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.7677, allocations: 153.1 kB / 0.9571 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.7678, allocations: 49.14 kB / 0.9571 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.7679, allocations: 14.84 kB / 0.9571 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.7679, allocations: 1.094 kB / 0.9571 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.7679, allocations: 35.78 kB / 0.9572 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.7679, allocations: 4 kB / 0.9572 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002682/0.7682, allocations: 72.41 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.7682, allocations: 56.64 kB / 0.9573 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.275e-05/0.7683, allocations: 93.23 kB / 0.9574 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.7683, allocations: 29.64 kB / 0.9574 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/0.7683, allocations: 81.36 kB / 0.9575 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.7684, allocations: 17.3 kB / 0.9575 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.7684, allocations: 0 / 0.9575 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.036e-05/0.7684, allocations: 314.8 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.7685, allocations: 10.58 kB / 0.9578 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-05/0.7686, allocations: 14.84 kB / 0.9578 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/0.7686, allocations: 17.55 kB / 0.9578 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.7686, allocations: 1 kB / 0.9578 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001407/0.7688, allocations: 59.42 kB / 0.9579 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7688, allocations: 4.75 kB / 0.9579 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7688, allocations: 0 / 0.9579 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.7688, allocations: 1.125 kB / 0.9579 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.7689, allocations: 8.641 kB / 0.9579 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.7689, allocations: 5.172 kB / 0.9579 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.769, allocations: 5.281 kB / 0.9579 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.769, allocations: 5.078 kB / 0.9579 GB, free: 4.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.7691, allocations: 110.9 kB / 0.958 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.7691, allocations: 6.5 kB / 0.958 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.7691, allocations: 3.125 kB / 0.958 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.7691, allocations: 1.406 kB / 0.958 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.7691, allocations: 8 kB / 0.958 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7691, allocations: 3.953 kB / 0.9581 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.648e-05/0.7692, allocations: 154 kB / 0.9582 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.7692, allocations: 0 / 0.9582 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.7693, allocations: 9.016 kB / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.7693, allocations: 1.188 kB / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.7693, allocations: 3.984 kB / 0.9582 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7693, allocations: 1.219 kB / 0.9582 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.7693, allocations: 0 / 0.9582 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.7695, allocations: 92.25 kB / 0.9583 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.7696, allocations: 82.16 kB / 0.9584 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.7696, allocations: 1.344 kB / 0.9584 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.464e-05/0.7697, allocations: 1.906 kB / 0.9584 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.7697, allocations: 0 / 0.9584 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.7697, allocations: 10.02 kB / 0.9584 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.172e-05/0.7697, allocations: 85.69 kB / 0.9585 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7697, allocations: 0 / 0.9585 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002106/0.7699, allocations: 15.03 kB / 0.9585 GB, free: 3.949 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001528/0.7701, allocations: 119.7 kB / 0.9586 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.7703, allocations: 26.5 kB / 0.9586 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7703, allocations: 5.156 kB / 0.9586 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.698e-05/0.7703, allocations: 20.17 kB / 0.9587 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.7705, allocations: 5.031 kB / 0.9587 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.7708, allocations: 123.4 kB / 0.9588 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.97e-05/0.7709, allocations: 0.6801 MB / 0.9594 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.336e-05/0.771, allocations: 7.281 kB / 0.9594 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.771, allocations: 9.688 kB / 0.9595 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7711, allocations: 0 / 0.9595 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.002563/0.7736, allocations: 0.7027 MB / 0.9601 GB, free: 2.605 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