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.001517/0.001517, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001932/0.001932, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.7/2.7, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7099/0.7111, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002469/0.7137, allocations: 1.472 MB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004116/0.7141, allocations: 199.5 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.7141, allocations: 0 / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.7142, allocations: 3.938 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.787e-05/0.7142, allocations: 4 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.7144, allocations: 23.91 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.18e-05/0.7145, allocations: 27.92 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.7146, allocations: 4 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.7147, allocations: 15.92 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.7147, allocations: 11.98 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.7148, allocations: 0 / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-05/0.7148, allocations: 35.84 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/0.7149, allocations: 4 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.7149, allocations: 11.94 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.715, allocations: 29.92 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.715, allocations: 4 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.633e-06/0.715, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5e-06/0.715, allocations: 0 / 1.019 GB, free: 0.8789 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.0004192/0.7154, allocations: 343.4 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.7155, allocations: 19.95 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.7156, allocations: 4.938 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.7157, allocations: 172.3 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.7158, allocations: 384 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.7158, allocations: 4.312 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.7159, allocations: 50.23 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.716, allocations: 192 / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.716, allocations: 3.938 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.716, allocations: 0 / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.7161, allocations: 35.95 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.7165, allocations: 248.9 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.7166, allocations: 42.53 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.822e-05/0.7167, allocations: 20.91 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.7168, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.7168, allocations: 38.56 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.7168, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003216/0.7171, allocations: 81.58 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.7172, allocations: 51.41 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.7172, allocations: 101.8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.7173, allocations: 29.83 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.7173, allocations: 88.14 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.7173, allocations: 3.906 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.7174, allocations: 9.719 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.7175, allocations: 314.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.7176, allocations: 19.97 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.7176, allocations: 11.98 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.7178, allocations: 44.89 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7178, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000186/0.718, allocations: 73.53 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.718, allocations: 5.562 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.718, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.718, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.7181, allocations: 16.02 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.7181, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.7182, allocations: 15.86 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.7182, allocations: 0 / 1.02 GB, free: 14.84 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 6.692e-05/0.7183, allocations: 114.3 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.7183, allocations: 3.906 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.7186, allocations: 88.88 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7186, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7186, allocations: 3.938 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.7186, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.7188, allocations: 165.6 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7188, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.928e-05/0.7189, allocations: 7.984 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7189, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.7189, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.699e-05/0.7189, allocations: 8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7189, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.7192, allocations: 167.4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.7192, allocations: 81.11 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.7192, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.7193, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.7194, allocations: 11.92 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.7194, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.7194, allocations: 83.28 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7194, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002164/0.7196, allocations: 4 kB / 1.021 GB, free: 14.01 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.0001024/0.7197, allocations: 99.25 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.72, allocations: 43.95 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.72, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.087e-05/0.7201, allocations: 23.97 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.7203, allocations: 9.984 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.7206, allocations: 118.7 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.7209, allocations: 0.6768 MB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.7209, allocations: 8.062 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.7209, allocations: 7.438 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7209, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.002377/0.7233, allocations: 446.4 kB / 1.022 GB, free: 12.53 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=480 -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