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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001074/0.001074, allocations: 91.77 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.001534/0.001534, 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.529/1.529, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.781/2.781, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.00038, allocations: 11.94 kB / 0.8722 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8085/0.8089, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001889/0.8108, allocations: 1.129 MB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004917/0.8113, allocations: 183.6 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.8114, allocations: 0 / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.8114, allocations: 0 / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.313e-05/0.8115, allocations: 11.92 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.8117, allocations: 19.91 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.8118, allocations: 23.88 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.8119, allocations: 3.984 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.103e-05/0.812, allocations: 11.98 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.812, allocations: 11.92 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.812, allocations: 0 / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-05/0.8121, allocations: 27.98 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.8121, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.8122, allocations: 29.7 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.8123, allocations: 25.94 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.8123, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8123, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.8123, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 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.000508/0.8129, allocations: 351.2 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.8129, allocations: 8.562 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.8131, allocations: 7.984 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.8132, allocations: 163.1 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.8133, allocations: 7.891 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.8133, allocations: 7.984 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.8135, allocations: 53.67 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.8135, allocations: 0 / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.8135, allocations: 0 / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.8135, allocations: 0 / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.8137, allocations: 47.95 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.8141, allocations: 256.8 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.8142, allocations: 46.56 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.56e-05/0.8143, allocations: 32.89 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.8143, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.8144, allocations: 30.56 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.8144, allocations: 8 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003458/0.8147, allocations: 93.58 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.8148, allocations: 59.53 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.8148, allocations: 93.86 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.8149, allocations: 29.64 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.8149, allocations: 92.12 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.8149, allocations: 3.906 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-06/0.815, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.8151, allocations: 314.8 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.8152, allocations: 27.98 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-05/0.8152, allocations: 19.97 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.699e-05/0.8153, allocations: 23.98 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.8153, allocations: 64 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001796/0.8155, allocations: 77.61 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.8155, allocations: 9.078 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.8155, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.8156, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.8156, allocations: 16.03 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.8157, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.8157, allocations: 11.92 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.8157, allocations: 4 kB / 1.026 GB, free: 12.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.8158, allocations: 113.8 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.8158, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.8161, allocations: 92.77 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.8161, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8161, allocations: 3.938 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8161, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.8163, allocations: 165.5 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8163, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.446e-05/0.8164, allocations: 16 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.8164, allocations: 7.922 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.8164, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.8164, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8164, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.8167, allocations: 179.7 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.8167, allocations: 81.06 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.8167, allocations: 4 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.8168, allocations: 7.984 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.8169, allocations: 4 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.8169, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.8169, allocations: 95.2 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8169, allocations: 3.938 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002122/0.8171, allocations: 4 kB / 1.026 GB, free: 11.62 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 (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.0001085/0.8173, allocations: 99.23 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.8175, allocations: 51.95 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8175, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.271e-05/0.8176, allocations: 27.98 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.8178, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.8181, allocations: 146.8 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.8184, allocations: 0.6731 MB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.8184, allocations: 0 / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.8185, allocations: 15.42 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8185, allocations: 0 / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of Templates: time 0.002483/0.821, allocations: 405.8 kB / 1.028 GB, free: 10.16 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