Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00147/0.00147, allocations: 192.6 kB / 16.14 MB, free: 6.719 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.8685 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7276/0.7288, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002873/0.7317, allocations: 1.476 MB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.7327, allocations: 0.6007 MB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.7328, allocations: 3.938 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.7328, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.864e-05/0.7329, allocations: 7.922 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.7333, allocations: 87.69 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.347e-05/0.7333, allocations: 27.88 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.7334, allocations: 4 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.7335, allocations: 7.984 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.759e-05/0.7335, allocations: 15.92 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.7335, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.7338, allocations: 151.7 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.7338, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.7339, allocations: 15.94 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.7341, allocations: 97.78 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7341, allocations: 0 / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.11e-07/0.7341, allocations: 0 / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.7341, allocations: 3.938 kB / 1.019 GB, free: 296 kB / 0.7637 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.0005187/0.7346, allocations: 363.4 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.7347, allocations: 8.031 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004471/0.7351, allocations: 36.89 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.7352, allocations: 168.3 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.7353, allocations: 384 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.7353, allocations: 384 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.7355, allocations: 66.14 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7355, allocations: 4.188 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.7356, allocations: 3.938 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.7356, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.7358, allocations: 51.94 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.7363, allocations: 264.9 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.7365, allocations: 70.41 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.7367, allocations: 32.89 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.7367, allocations: 3.984 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.7367, allocations: 34.56 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7368, allocations: 3.938 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0005055/0.7373, allocations: 109.6 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.7373, allocations: 51.41 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.7374, allocations: 117.9 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.7374, allocations: 25.7 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.7375, allocations: 80.14 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.7375, allocations: 3.906 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.7375, allocations: 17.7 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.7377, allocations: 314.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.7378, allocations: 27.97 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.7379, allocations: 27.97 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.7382, allocations: 52.81 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7382, allocations: 3.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004099/0.7386, allocations: 93.55 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7386, allocations: 8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.7386, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.7387, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.7388, allocations: 19.92 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.7388, allocations: 3.984 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.739e-05/0.7389, allocations: 8.031 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.7389, allocations: 7.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 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.49e-05/0.739, allocations: 109.8 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.739, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.7391, allocations: 11.06 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7391, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.7391, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.7391, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.7394, allocations: 169.5 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.7394, allocations: 4 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.7395, allocations: 19.97 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7395, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.7395, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7395, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7395, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.7399, allocations: 191.4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.74, allocations: 92.89 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.74, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.7401, allocations: 7.984 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.7402, allocations: 4.031 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.7402, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.7402, allocations: 87.27 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7402, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002389/0.7405, allocations: 8 kB / 1.022 GB, free: 13.22 MB / 0.7794 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.0001967/0.7407, allocations: 115.2 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.741, allocations: 59.94 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.741, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.7412, allocations: 31.91 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.7415, allocations: 11.94 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.7419, allocations: 132.3 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.7423, allocations: 0.677 MB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.419e-05/0.7424, allocations: 11.94 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.7425, allocations: 11.44 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.7425, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of Templates: time 0.003031/0.7455, allocations: 0.7221 MB / 1.023 GB, free: 11.41 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches