Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001378/0.001378, allocations: 193.7 kB / 16.14 MB, free: 6.676 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.491/1.491, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.719/2.719, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 59.91 kB / 0.8686 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7126, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002679/0.7153, allocations: 1.472 MB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004734/0.7158, allocations: 203.5 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.7158, allocations: 0 / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.7158, allocations: 0 / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.7159, allocations: 7.922 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.7161, allocations: 23.92 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.628e-05/0.7161, allocations: 23.92 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.7162, allocations: 8 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.7162, allocations: 19.91 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.198e-05/0.7163, allocations: 0 / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.7163, allocations: 7.938 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.7164, allocations: 23.97 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.7164, allocations: 8 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.7164, allocations: 3.938 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.7166, allocations: 37.92 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.7166, allocations: 0 / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.92e-07/0.7166, allocations: 0 / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.7166, allocations: 0 / 1.018 GB, free: 0.9766 MB / 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.0004499/0.717, allocations: 351.4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.7171, allocations: 16.02 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.7172, allocations: 4.938 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.7173, allocations: 164.3 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.7174, allocations: 4.312 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.7174, allocations: 4.375 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.7176, allocations: 54.17 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.7176, allocations: 4.188 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.7176, allocations: 3.938 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.7176, allocations: 4 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.7178, allocations: 31.95 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.7181, allocations: 241 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.7183, allocations: 50.55 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.7184, allocations: 20.84 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.7184, allocations: 3.938 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.7184, allocations: 30.56 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7184, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003674/0.7188, allocations: 85.64 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.7189, allocations: 51.41 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.917e-05/0.719, allocations: 105.8 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.719, allocations: 25.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.719, allocations: 84.14 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.7191, allocations: 3.906 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.7191, allocations: 17.66 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7192, allocations: 319 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.801e-05/0.7194, allocations: 19.91 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.7194, allocations: 19.98 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.7196, allocations: 32.83 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7196, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002277/0.7198, allocations: 77.56 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.7199, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7199, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.7199, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.72, allocations: 7.984 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.72, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.7201, allocations: 11.92 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.7201, allocations: 0 / 1.02 GB, free: 14.93 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 9.192e-05/0.7202, allocations: 125.8 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.7202, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.7205, allocations: 76.77 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7205, allocations: 3.938 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.7205, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.7205, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.7207, allocations: 161.6 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7207, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.7208, allocations: 11.98 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7208, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.7208, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.7208, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7208, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.7211, allocations: 179.4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.7211, allocations: 81.02 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.7211, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.7212, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.7213, allocations: 3.984 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.7213, allocations: 8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.408e-05/0.7213, allocations: 79.28 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7213, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002165/0.7216, allocations: 4 kB / 1.021 GB, free: 14.1 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 (3): * Single equations (assignments): 3 * 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.0001056/0.7217, allocations: 99.78 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.7219, allocations: 43.89 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7219, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.722, allocations: 23.97 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.7223, allocations: 9.766 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.7226, allocations: 124.4 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.7229, allocations: 0.6809 MB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.723, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.723, allocations: 7.438 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.723, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of Templates: time 0.002579/0.7256, allocations: 438.8 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches