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.0009782/0.0009779, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.000949/0.0009491, allocations: 177.3 kB / 15.94 MB, free: 228 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.458/1.458, allocations: 223.2 MB / 239.9 MB, free: 5.469 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.369/2.369, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004103, allocations: 12 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8938/0.8943, allocations: 142.3 MB / 0.9535 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001228/0.8956, allocations: 0.9884 MB / 0.9545 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008426/0.8964, allocations: 0.5044 MB / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.8964, allocations: 4 kB / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.8965, allocations: 3.938 kB / 0.955 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.8965, allocations: 9.344 kB / 0.955 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.8969, allocations: 78.62 kB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.595e-05/0.897, allocations: 19.05 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.738e-05/0.897, allocations: 1.375 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.8971, allocations: 7.531 kB / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.8971, allocations: 7.75 kB / 0.9551 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.8972, allocations: 0 / 0.9551 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.8975, allocations: 160.8 kB / 0.9552 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.635e-06/0.8975, allocations: 3.984 kB / 0.9553 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.8975, allocations: 31.78 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.8977, allocations: 60.75 kB / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.8977, allocations: 0 / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8977, allocations: 0 / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.8977, allocations: 1.125 kB / 0.9553 GB, free: 6.715 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.0003037/0.898, allocations: 351.1 kB / 0.9557 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.8981, allocations: 13.81 kB / 0.9557 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.8985, allocations: 31.89 kB / 0.9557 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.387e-05/0.8986, allocations: 164.1 kB / 0.9559 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.8986, allocations: 0 / 0.9559 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.8986, allocations: 1.094 kB / 0.9559 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.8988, allocations: 49.47 kB / 0.9559 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.8988, allocations: 7.938 kB / 0.9559 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.8988, allocations: 1.156 kB / 0.9559 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.8988, allocations: 3.953 kB / 0.9559 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.8989, allocations: 19.95 kB / 0.956 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.8991, allocations: 158.4 kB / 0.9561 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.8992, allocations: 43.2 kB / 0.9561 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.8993, allocations: 1.281 kB / 0.9562 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.8993, allocations: 35.75 kB / 0.9562 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8993, allocations: 0 / 0.9562 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002841/0.8996, allocations: 73.03 kB / 0.9563 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.8996, allocations: 63.33 kB / 0.9563 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.888e-05/0.8997, allocations: 97.44 kB / 0.9564 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.8997, allocations: 25.7 kB / 0.9564 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.785e-05/0.8997, allocations: 81.11 kB / 0.9565 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.8997, allocations: 9.094 kB / 0.9565 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.8997, allocations: 0 / 0.9565 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.867e-05/0.8998, allocations: 311.9 kB / 0.9568 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.095e-05/0.8999, allocations: 17.95 kB / 0.9568 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.103e-05/0.8999, allocations: 10.3 kB / 0.9568 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.921e-05/0.9, allocations: 11.53 kB / 0.9569 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9, allocations: 0 / 0.9569 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001484/0.9001, allocations: 63.5 kB / 0.9569 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.9002, allocations: 9.438 kB / 0.9569 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.9002, allocations: 0 / 0.9569 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.9002, allocations: 0 / 0.9569 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.9003, allocations: 9.359 kB / 0.9569 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.9003, allocations: 0 / 0.9569 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.9004, allocations: 6.047 kB / 0.9569 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.9004, allocations: 1.125 kB / 0.9569 GB, free: 5.023 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.452e-05/0.9005, allocations: 114.8 kB / 0.957 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.9005, allocations: 9.281 kB / 0.9571 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.9005, allocations: 8.609 kB / 0.9571 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.9005, allocations: 0 / 0.9571 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9005, allocations: 1.438 kB / 0.9571 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.9006, allocations: 0 / 0.9571 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.385e-05/0.9007, allocations: 158 kB / 0.9572 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9007, allocations: 192 / 0.9572 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.9007, allocations: 8.516 kB / 0.9572 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9007, allocations: 1.031 kB / 0.9572 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.9008, allocations: 9.328 kB / 0.9572 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9008, allocations: 0 / 0.9572 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9008, allocations: 4 kB / 0.9572 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.9009, allocations: 91.95 kB / 0.9573 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.901, allocations: 78.45 kB / 0.9574 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.901, allocations: 5.156 kB / 0.9574 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.9011, allocations: 5.141 kB / 0.9574 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.9011, allocations: 1.188 kB / 0.9574 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.9011, allocations: 5.375 kB / 0.9574 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.989e-05/0.9012, allocations: 77.94 kB / 0.9575 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9012, allocations: 3.938 kB / 0.9575 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002079/0.9014, allocations: 11.16 kB / 0.9575 GB, free: 4.398 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.0001589/0.9015, allocations: 119.6 kB / 0.9576 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.9017, allocations: 30.94 kB / 0.9577 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9017, allocations: 1.062 kB / 0.9577 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.255e-05/0.9018, allocations: 16.39 kB / 0.9577 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.902, allocations: 11.84 kB / 0.9577 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.9023, allocations: 128.5 kB / 0.9578 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.9024, allocations: 0.6775 MB / 0.9585 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.081e-05/0.9025, allocations: 7.219 kB / 0.9585 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.9026, allocations: 9.75 kB / 0.9585 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9026, allocations: 4 kB / 0.9585 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of Templates: time 0.002704/0.9053, allocations: 0.6909 MB / 0.9592 GB, free: 3.059 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","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches