Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 215.3 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.958/2.958, allocations: 476.8 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 66.03 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2897, allocations: 170 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003329/0.293, allocations: 1.448 MB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005661/0.2936, allocations: 219.3 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.2936, allocations: 0 / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.2937, allocations: 3.984 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.2937, allocations: 7.922 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.2939, allocations: 31.92 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.674e-05/0.294, allocations: 23.86 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.2941, allocations: 11.98 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.2942, allocations: 11.98 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.893e-05/0.2942, allocations: 7.938 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.2942, allocations: 0 / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.2943, allocations: 35.97 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.2943, allocations: 0 / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.2943, allocations: 11.94 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.2945, allocations: 39.88 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2945, allocations: 7.938 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2945, allocations: 4 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2945, allocations: 0 / 1.286 GB, free: 9.395 MB / 0.9825 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.0004453/0.2949, allocations: 270.2 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.295, allocations: 8.031 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.2951, allocations: 4.938 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2953, allocations: 110.5 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2953, allocations: 384 / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.2953, allocations: 384 / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.2955, allocations: 62.16 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2955, allocations: 192 / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2955, allocations: 3.938 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2955, allocations: 0 / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.2956, allocations: 31.97 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.296, allocations: 216 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.2961, allocations: 42.53 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.2962, allocations: 28.84 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.2962, allocations: 0 / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2962, allocations: 30.56 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.2962, allocations: 0 / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003485/0.2966, allocations: 85.64 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.2966, allocations: 51.41 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.2967, allocations: 101.8 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2967, allocations: 29.64 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.2968, allocations: 84.14 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.2968, allocations: 3.953 kB / 1.288 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.2969, allocations: 17.84 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.297, allocations: 318.8 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.2971, allocations: 15.92 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.98e-05/0.2971, allocations: 15.98 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.2973, allocations: 40.81 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2973, allocations: 4.062 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001862/0.2975, allocations: 65.61 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2975, allocations: 4 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2975, allocations: 0 / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2975, allocations: 0 / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.2976, allocations: 11.98 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.2976, allocations: 4 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.2977, allocations: 15.97 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2977, allocations: 7.922 kB / 1.288 GB, free: 7.555 MB / 0.9825 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 8.333e-05/0.2977, allocations: 117.8 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.2978, allocations: 0 / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.298, allocations: 85.06 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.298, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.298, allocations: 4 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.298, allocations: 0 / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.2982, allocations: 140.6 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2982, allocations: 3.984 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/0.2983, allocations: 8 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2983, allocations: 0 / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2983, allocations: 0 / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2983, allocations: 0 / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2983, allocations: 0 / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.2985, allocations: 177.2 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.2985, allocations: 7.953 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.2985, allocations: 4 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.2986, allocations: 7.984 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.2987, allocations: 0 / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.2987, allocations: 4 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.2987, allocations: 79.22 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2987, allocations: 4 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002248/0.2989, allocations: 8 kB / 1.289 GB, free: 6.848 MB / 0.9825 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.0001183/0.2991, allocations: 103.2 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.2993, allocations: 35.91 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2993, allocations: 0 / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.2994, allocations: 23.97 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.2997, allocations: 15.61 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.3, allocations: 140.7 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.3003, allocations: 0.6768 MB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.3003, allocations: 7.438 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.3003, allocations: 0 / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of Templates: time 0.002065/0.3024, allocations: 0.5936 MB / 1.29 GB, free: 5.191 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.040331138006877]