Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_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.001383/0.001383, allocations: 106.7 kB / 15.98 MB, free: 5.891 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.00145/0.00145, allocations: 189.3 kB / 16.91 MB, free: 5.746 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.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.2 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 63.59 kB / 0.8127 GB, free: 33.38 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3025, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003314/0.3059, allocations: 1.479 MB / 0.9512 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005129/0.3064, allocations: 203.4 kB / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.3065, allocations: 0 / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.3065, allocations: 0 / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.3066, allocations: 7.922 kB / 0.9514 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.3069, allocations: 19.97 kB / 0.9514 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.307, allocations: 23.88 kB / 0.9514 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3071, allocations: 15.98 kB / 0.9515 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.9e-05/0.3071, allocations: 11.92 kB / 0.9515 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.802e-05/0.3072, allocations: 7.984 kB / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3072, allocations: 4 kB / 0.9515 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-05/0.3073, allocations: 27.98 kB / 0.9515 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.3073, allocations: 3.938 kB / 0.9515 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.3074, allocations: 11.98 kB / 0.9515 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.3075, allocations: 24.25 kB / 0.9515 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3075, allocations: 0 / 0.9515 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3075, allocations: 3.938 kB / 0.9516 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3075, allocations: 0 / 0.9516 GB, free: 7.355 MB / 0.7325 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.0004701/0.308, allocations: 343.4 kB / 0.9519 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.308, allocations: 12.03 kB / 0.9519 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.3082, allocations: 8.922 kB / 0.9519 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3083, allocations: 164.3 kB / 0.9521 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.3083, allocations: 384 / 0.9521 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.3083, allocations: 384 / 0.9521 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3085, allocations: 54.17 kB / 0.9521 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3085, allocations: 4.188 kB / 0.9521 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3085, allocations: 3.938 kB / 0.9521 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3086, allocations: 4 kB / 0.9521 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.3087, allocations: 31.95 kB / 0.9521 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.3091, allocations: 248.9 kB / 0.9524 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.3092, allocations: 46.48 kB / 0.9524 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.3093, allocations: 24.89 kB / 0.9525 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.3094, allocations: 3.938 kB / 0.9525 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.3094, allocations: 30.56 kB / 0.9525 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3094, allocations: 0 / 0.9525 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000342/0.3097, allocations: 85.64 kB / 0.9526 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.3098, allocations: 51.41 kB / 0.9526 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.3099, allocations: 101.9 kB / 0.9527 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3099, allocations: 25.7 kB / 0.9527 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.31, allocations: 84.12 kB / 0.9528 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.31, allocations: 3.906 kB / 0.9528 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.31, allocations: 17.72 kB / 0.9528 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3102, allocations: 318.9 kB / 0.9531 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-05/0.3103, allocations: 15.97 kB / 0.9532 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.3103, allocations: 23.92 kB / 0.9532 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3105, allocations: 32.83 kB / 0.9532 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3105, allocations: 0 / 0.9532 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002089/0.3107, allocations: 77.66 kB / 0.9533 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3107, allocations: 4 kB / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3107, allocations: 4 kB / 0.9533 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3108, allocations: 3.938 kB / 0.9533 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.3109, allocations: 7.984 kB / 0.9533 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3109, allocations: 0 / 0.9533 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.3109, allocations: 11.89 kB / 0.9533 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3109, allocations: 0 / 0.9533 GB, free: 5.316 MB / 0.7325 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.926e-05/0.311, allocations: 125.8 kB / 0.9534 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.3111, allocations: 0 / 0.9534 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.3113, allocations: 72.78 kB / 0.9535 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3113, allocations: 3.984 kB / 0.9535 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3113, allocations: 0 / 0.9535 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3114, allocations: 0 / 0.9535 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.3115, allocations: 165.6 kB / 0.9537 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3116, allocations: 0 / 0.9537 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.186e-05/0.3116, allocations: 11.98 kB / 0.9537 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3116, allocations: 0 / 0.9537 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.3117, allocations: 0 / 0.9537 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3117, allocations: 0 / 0.9537 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3117, allocations: 0 / 0.9537 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.312, allocations: 175.4 kB / 0.9538 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.009e-05/0.312, allocations: 81.09 kB / 0.9539 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.312, allocations: 4 kB / 0.9539 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.3121, allocations: 4 kB / 0.9539 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.3122, allocations: 3.984 kB / 0.9539 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3122, allocations: 4 kB / 0.9539 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.3122, allocations: 79.56 kB / 0.954 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3122, allocations: 0 / 0.954 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002207/0.3124, allocations: 7.906 kB / 0.954 GB, free: 4.492 MB / 0.7325 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.0001121/0.3126, allocations: 103.2 kB / 0.9541 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.3128, allocations: 43.89 kB / 0.9542 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3128, allocations: 0 / 0.9542 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.716e-05/0.3129, allocations: 20.12 kB / 0.9542 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3132, allocations: 9.391 kB / 0.9542 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.3135, allocations: 160.4 kB / 0.9543 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.3138, allocations: 0.6844 MB / 0.955 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.3139, allocations: 7.438 kB / 0.955 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of SimCode: time 1.783e-06/0.3139, allocations: 0 / 0.955 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of Templates: time 0.00203/0.3159, allocations: 0.59 MB / 0.9556 GB, free: 2.816 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches