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.001978/0.001978, allocations: 103 kB / 16.27 MB, free: 6.402 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.0025/0.0025, allocations: 191 kB / 17.2 MB, free: 5.969 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.774/1.774, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.235/2.235, allocations: 390.2 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 62.62 kB / 0.8132 GB, free: 32.85 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2905, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002986/0.2936, allocations: 1.406 MB / 0.9516 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000477/0.2941, allocations: 201.5 kB / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.2941, allocations: 0 / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.2942, allocations: 7.938 kB / 0.9518 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.751e-05/0.2942, allocations: 3.938 kB / 0.9518 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.2945, allocations: 27.89 kB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.589e-05/0.2945, allocations: 23.92 kB / 0.9519 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.2946, allocations: 4 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.2947, allocations: 11.94 kB / 0.9519 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.2948, allocations: 11.98 kB / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.2948, allocations: 0 / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.586e-05/0.2949, allocations: 35.97 kB / 0.9519 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2949, allocations: 11.92 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.2949, allocations: 4 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.2951, allocations: 36.19 kB / 0.952 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2951, allocations: 0 / 0.952 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2951, allocations: 0 / 0.952 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2951, allocations: 0 / 0.952 GB, free: 7.094 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.0004377/0.2955, allocations: 339.4 kB / 0.9523 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2956, allocations: 8.031 kB / 0.9523 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.2957, allocations: 12.94 kB / 0.9523 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.2959, allocations: 176.2 kB / 0.9525 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2959, allocations: 384 / 0.9525 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.2959, allocations: 384 / 0.9525 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.2961, allocations: 50.23 kB / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2961, allocations: 192 / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2961, allocations: 3.938 kB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2961, allocations: 4 kB / 0.9526 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.2963, allocations: 35.95 kB / 0.9526 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.2967, allocations: 244.9 kB / 0.9528 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2968, allocations: 50.38 kB / 0.9529 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/0.2969, allocations: 20.89 kB / 0.9529 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2969, allocations: 8 kB / 0.9529 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.297, allocations: 30.56 kB / 0.9529 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.297, allocations: 0 / 0.9529 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003548/0.2973, allocations: 77.64 kB / 0.953 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.2974, allocations: 55.34 kB / 0.9531 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.2974, allocations: 105.9 kB / 0.9532 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.2975, allocations: 29.7 kB / 0.9532 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.2975, allocations: 88.12 kB / 0.9533 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.2975, allocations: 3.906 kB / 0.9533 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.2976, allocations: 13.72 kB / 0.9533 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2977, allocations: 310.8 kB / 0.9536 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.622e-05/0.2978, allocations: 15.98 kB / 0.9536 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/0.2979, allocations: 23.97 kB / 0.9536 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.298, allocations: 36.83 kB / 0.9537 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.298, allocations: 0 / 0.9537 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000203/0.2983, allocations: 73.53 kB / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2983, allocations: 4 kB / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2983, allocations: 4 kB / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2983, allocations: 4.094 kB / 0.9537 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.619e-05/0.2984, allocations: 7.984 kB / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2984, allocations: 0 / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.558e-05/0.2985, allocations: 11.91 kB / 0.9538 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2985, allocations: 0 / 0.9538 GB, free: 5.055 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.614e-05/0.2986, allocations: 120.8 kB / 0.9539 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.2986, allocations: 0 / 0.9539 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.2989, allocations: 76.78 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2989, allocations: 0 / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2989, allocations: 240 / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2989, allocations: 0 / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.2991, allocations: 173.5 kB / 0.9541 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2991, allocations: 3.984 kB / 0.9541 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.2991, allocations: 11.98 kB / 0.9541 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2992, allocations: 0 / 0.9541 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.2992, allocations: 4 kB / 0.9541 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2992, allocations: 3.938 kB / 0.9541 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2992, allocations: 0 / 0.9541 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.2994, allocations: 167.5 kB / 0.9543 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.2995, allocations: 77.11 kB / 0.9544 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.2995, allocations: 3.984 kB / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.2996, allocations: 8 kB / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.2996, allocations: 0 / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.2997, allocations: 7.984 kB / 0.9544 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.849e-05/0.2997, allocations: 83.28 kB / 0.9545 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2997, allocations: 0 / 0.9545 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002243/0.2999, allocations: 7.906 kB / 0.9545 GB, free: 4.223 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.0001201/0.3001, allocations: 99.19 kB / 0.9546 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3003, allocations: 43.95 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.3003, allocations: 3.938 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.647e-05/0.3004, allocations: 19.98 kB / 0.9546 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.3007, allocations: 3.938 kB / 0.9546 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.3011, allocations: 156.3 kB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3015, allocations: 0.6806 MB / 0.9555 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.3015, allocations: 11.42 kB / 0.9555 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.3015, allocations: 4 kB / 0.9555 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of Templates: time 0.002105/0.3037, allocations: 0.5827 MB / 0.956 GB, free: 2.562 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