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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 249.4 MB, free: 3.105 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 443.5 MB / 0.7304 GB, free: 13.81 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 1.059 GB, free: 324 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3073, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002912/0.3102, allocations: 1.423 MB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000562/0.3108, allocations: 215.4 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.3108, allocations: 0 / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.541e-05/0.3109, allocations: 3.938 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.3109, allocations: 3.938 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.3112, allocations: 27.91 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.3113, allocations: 23.92 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3114, allocations: 4 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.364e-05/0.3114, allocations: 11.98 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.3115, allocations: 15.92 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.3115, allocations: 0 / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.425e-05/0.3116, allocations: 23.98 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.3116, allocations: 3.984 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.3116, allocations: 11.94 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.3117, allocations: 35.83 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3117, allocations: 4 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3117, allocations: 0 / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.3118, allocations: 4 kB / 1.218 GB, free: 13.46 MB / 0.9669 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.000521/0.3123, allocations: 335.4 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3123, allocations: 15.97 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.3124, allocations: 4.891 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.3126, allocations: 168.4 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3126, allocations: 384 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.3126, allocations: 384 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3128, allocations: 58.17 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3128, allocations: 192 / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3128, allocations: 7.938 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3128, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.313, allocations: 35.95 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.3134, allocations: 248.9 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.3135, allocations: 51.48 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.48e-05/0.3136, allocations: 16.91 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3136, allocations: 4 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3137, allocations: 34.56 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.3137, allocations: 0 / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000367/0.314, allocations: 89.53 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3141, allocations: 51.41 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/0.3142, allocations: 105.8 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3142, allocations: 25.7 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.3142, allocations: 80.14 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.3143, allocations: 15.89 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.3143, allocations: 13.84 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3144, allocations: 318.8 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.3145, allocations: 15.98 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.3146, allocations: 11.98 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.3147, allocations: 40.88 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3147, allocations: 4 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.3149, allocations: 69.61 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.315, allocations: 4 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.315, allocations: 0 / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.315, allocations: 0 / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.3151, allocations: 15.92 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3151, allocations: 0 / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.3151, allocations: 12.02 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3151, allocations: 0 / 1.22 GB, free: 11.42 MB / 0.9669 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.48e-05/0.3152, allocations: 109.8 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.3152, allocations: 4 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.3155, allocations: 76.77 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3155, allocations: 0 / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3155, allocations: 4 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3155, allocations: 0 / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.3157, allocations: 165.5 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3157, allocations: 3.984 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/0.3157, allocations: 8 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3157, allocations: 0 / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.3158, allocations: 4 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3158, allocations: 3.938 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3158, allocations: 0 / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.316, allocations: 175.4 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.3161, allocations: 77.11 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.3161, allocations: 4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.3162, allocations: 15.92 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.3162, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.3162, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.3162, allocations: 83.28 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3162, allocations: 4 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002142/0.3165, allocations: 4 kB / 1.22 GB, free: 10.59 MB / 0.9669 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.0001511/0.3166, allocations: 103.2 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.3168, allocations: 39.91 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3168, allocations: 0 / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.716e-05/0.3169, allocations: 23.97 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.3172, allocations: 12 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.3176, allocations: 126.5 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3179, allocations: 0.6768 MB / 1.221 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.555e-05/0.3179, allocations: 0 / 1.221 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.3179, allocations: 7.438 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.3179, allocations: 11.94 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of Templates: time 0.002747/0.3207, allocations: 0.499 MB / 1.222 GB, free: 9.039 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.987699278630316]